NAME

Catalyst::Helper::Handel::Scaffold - Helper for creating Handel framework scaffolding

SYNOPSIS

script/create.pl Handel::Scaffold <dsn> [<username> <password> <cartname> <ordername> <checkoutname>]
script/create.pl Handel::Scaffold dbi:SQLite:dbname=handel.db

DESCRIPTION

A Helper for creating an entire cart/order/checkout framework scaffold. 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.

METHODS

mk_stuff

Makes Cart and Order models, Cart, Order and Checkout controllers, templates files and a TT view for you.

SEE ALSO

Catalyst::Manual, Catalyst::Helper, Handel::Cart

AUTHOR

Christopher H. Laco
CPAN ID: CLACO
claco@chrislaco.com
http://today.icantfocus.com/blog/