NAME
Catalyst::Helper - Bootstrap a Catalyst application
SYNOPSIS
DESCRIPTION
Bootstrap a Catalyst application.
METHODS
mk_app
NAME
$name - A very nice application
SYNOPSIS
Very simple to use
DESCRIPTION
Very nice application.
AUTHOR
Clever guy
LICENSE
This library is free software . You can redistribute it and/or modify it under the same terms as perl itself.
NAME
server - Catalyst Testserver
SYNOPSIS
server [options]
Options:
-help display this help and exits
-port port (defaults to 3000)
See also:
perldoc Catalyst::Manual
perldoc Catalyst::Manual::Intro
DESCRIPTION
Run a Catalyst Testserver for this application.
AUTHOR
Sebastian Riedel, sri\@oook.de
COPYRIGHT
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.
NAME
test - Catalyst Test
SYNOPSIS
test [options] uri
Options:
-help display this help and exits
Examples:
perl test http://localhost/some_action
perl test /some_action
See also:
perldoc Catalyst::Manual
perldoc Catalyst::Manual::Intro
DESCRIPTION
Run a Catalyst action from the comand line.
AUTHOR
Sebastian Riedel, sri\@oook.de
COPYRIGHT
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.
NAME
create - Create a new Catalyst Component
SYNOPSIS
create [options] model|view|controller name [helper] [options]
Options:
-help display this help and exits
Examples:
perl create controller My::Controller
perl create view My::View
perl create view MyView TT
perl create view TT TT
perl create model My::Model
perl create model SomeDB CDBI dbi:SQLite:/tmp/my.db
perl create model AnotherDB CDBI dbi:Pg:dbname=foo root 4321
See also:
perldoc Catalyst::Manual
perldoc Catalyst::Manual::Intro
DESCRIPTION
Create a new Catalyst Component.
AUTHOR
Sebastian Riedel, sri\@oook.de
COPYRIGHT
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.
mk_component
NAME
$class - A Component
SYNOPSIS
Very simple to use
DESCRIPTION
Very nice component.
AUTHOR
Clever guy
LICENSE
This library is free software . You can redistribute it and/or modify it under the same terms as perl itself.
HELPERS
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.
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::
SEE ALSO
Catalyst::Manual, Catalyst::Test, Catalyst::Request, Catalyst::Response, Catalyst
AUTHOR
Sebastian Riedel, sri@oook.de
LICENSE
This library is free software . You can redistribute it and/or modify it under the same terms as perl itself.