CatalystX::Example::YUIUploader - A YUI Uploader example for Catalyst


CatalystX-Example-YUIUploader documentation Contained in the CatalystX-Example-YUIUploader distribution.

Index


Code Index:

NAME

Top

CatalystX::Example::YUIUploader - A YUI Uploader example for Catalyst

SYNOPSIS

Top

    script/catalystx_example_yuiuploader_server.pl
    # Nothing much to do, this is just an example application

DESCRIPTION

Top

This is a very basic Catalyst application that shows off the YUI (experimental) uploader. Launch the server by running:

    ./script/catalystx_example_yuiuploader_server.pl

And browse to http://localhost:3000 (or whatever you've set the port to) to play with the uploader.

NOTE: Currently, under Firefox 2 in Linux, the logging text in the flash window seems to be white on white. The text doesn't show up, but uploading works fine.

SEE ALSO

Top

http://developer.yahoo.com/yui/uploader/, Catalyst,

AUTHOR

Top

Robert Krimen

LICENSE

Top

This library is free software, you can redistribute it and/or modify it under the same terms as Perl itself.


CatalystX-Example-YUIUploader documentation Contained in the CatalystX-Example-YUIUploader distribution.

package CatalystX::Example::YUIUploader;

use strict;
use warnings;

use Catalyst::Runtime '5.70';

use Catalyst qw/-Debug ConfigLoader Static::Simple/;

our $VERSION = '0.02';

__PACKAGE__->config(
    name => 'CatalystX::Example::YUIUploader',
    static => {
        dirs => [ qw/static/ ],
    },
    default_view => 'View::TT',
    'View::TT' => {
        INCLUDE_PATH => [
            __PACKAGE__->path_to(qw/root tt/),
        ],
        CATALYST_VAR => "catalyst",
    },
);

__PACKAGE__->setup;

1;