Catalyst::Helper - Bootstrap a Catalyst application
See Catalyst::Manual::Intro
Bootstrap a Catalyst application.
$name - A very nice application
Very simple to use
Very nice application.
Clever guy
This library is free software . You can redistribute it and/or modify it under the same terms as perl itself.
cgi - Catalyst CGI
See Catalyst::Manual
Run a Catalyst application as cgi.
Sebastian Riedel, sri\@oook.de
sri\@oook.de
Copyright 2004 Sebastian Riedel. All rights reserved.
This library is free software. You can redistribute it and/or modify it under the same terms as perl itself.
nph-cgi - Catalyst CGI
Run a Catalyst application as nph cgi.
fcgi - Catalyst FCGI
Run a Catalyst application as fcgi.
server - Catalyst Testserver
server.pl [options]
Options: -? -help display this help and exits -p -port port (defaults to 3000) See also: perldoc Catalyst::Manual perldoc Catalyst::Manual::Intro
Run a Catalyst Testserver for this application.
test - Catalyst Test
test.pl [options] uri
Options: -help display this help and exits Examples: test.pl http://localhost/some_action test.pl /some_action See also: perldoc Catalyst::Manual perldoc Catalyst::Manual::Intro
Run a Catalyst action from the comand line.
create - Create a new Catalyst Component
create.pl [options] model|view|controller name [helper] [options]
Options: -help display this help and exits Examples: create.pl controller My::Controller create.pl view My::View create.pl view MyView TT create.pl view TT TT create.pl model My::Model create.pl model SomeDB CDBI dbi:SQLite:/tmp/my.db create.pl model AnotherDB CDBI dbi:Pg:dbname=foo root 4321 create.pl Ajax See also: perldoc Catalyst::Manual perldoc Catalyst::Manual::Intro
Create a new Catalyst Component.
$class - A Component
Very nice component.
Helpers are classes that provide two methods.
* mk_compclass - creates the Component class * mk_comptest - creates the Component test
So when you call bin/create view MyView TT, create would try to execute Catalyst::Helper::View::TT->mk_compclass and Catalyst::Helper::View::TT->mk_comptest.
bin/create view MyView TT
See Catalyst::Helper::View::TT and Catalyst::Helper::Model::CDBI for examples.
All helper classes should be under one of the following namespaces.
Catalyst::Helper::Model:: Catalyst::Helper::View:: Catalyst::Helper::Controller::
Catalyst::Manual, Catalyst::Test, Catalyst::Request, Catalyst::Response, Catalyst
Sebastian Riedel, sri@oook.de
sri@oook.de
To install Catalyst, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Catalyst
CPAN shell
perl -MCPAN -e shell install Catalyst
For more information on module installation, please visit the detailed CPAN module installation guide.