Catalyst::Helper::Handel::Scaffold - Helper for creating Handel framework scaffolding
script/create.pl Handel::Scaffold <dsn> [<username> <password> <cartname> <ordername> <checkoutname>] script/create.pl Handel::Scaffold dbi:SQLite:dbname=handel.db
Handel::Scaffold is a meta Helper for creating the entire cart/order/checkout framework using the other helpers included in this dist.
If cartname isn't specified, Cart is assumed. If ordername isn't specified, Orders is assumed. If no checkoutname is given, Checkout is assumed.
The cartname, ordername, and checkoutname arguments try to do the right thing with the names given to them.
For example, you can pass the shortened class name without the MyApp::M/C, or pass the fully qualified package name:
MyApp::M::CartModel MyApp::Model::CartModel CartModel
In all three cases everything before M{odel)|C(ontroller) will be stripped and the class CartModel will be used.
Makes Cart and Order models, Cart, Order and Checkout controllers, templates files and a TT view for you.
Catalyst::Manual, Catalyst::Helper, Handel::Cart
Christopher H. Laco CPAN ID: CLACO claco@chrislaco.com http://today.icantfocus.com/blog/
To install Handel, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Handel
CPAN shell
perl -MCPAN -e shell install Handel
For more information on module installation, please visit the detailed CPAN module installation guide.