X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst%2FManual%2FTutorial%2FCatalystBasics.pod;h=0a7daa58431b466500c8a63b93dddce83a926929;hb=8112f93129b5c90c215ac22135b1172ed710a125;hp=7096679d5957c06440cf3bf5a6af81def9a07a43;hpb=c9b77c06a0de97f1d6e9a66091e693a637578357;p=catagits%2FCatalyst-Runtime.git diff --git a/lib/Catalyst/Manual/Tutorial/CatalystBasics.pod b/lib/Catalyst/Manual/Tutorial/CatalystBasics.pod index 7096679..0a7daa5 100644 --- a/lib/Catalyst/Manual/Tutorial/CatalystBasics.pod +++ b/lib/Catalyst/Manual/Tutorial/CatalystBasics.pod @@ -114,7 +114,10 @@ following command: Catalyst provides a number of helper scripts that can be used to quickly flesh out the basic structure of your application. All Catalyst projects -begin with the C helper. +begin with the C helper (see L +for more information on helpers). Also note that as of Catalyst 5.7000, +you will not have the helper scripts unless you install both +L and L. In the case of this tutorial, use the Catalyst C script to initialize the framework for an application called C: @@ -693,7 +696,8 @@ to the controller: $c->stash->{books} = [$c->model('MyAppDB::Book')->all]; # Set the TT template to use. You will almost always want to do this - # in your action methods. + # in your action methods (actions methods respond to user input in + # your controllers). $c->stash->{template} = 'books/list.tt2'; } @@ -788,7 +792,7 @@ Catalyst C variable.) B: When troubleshooting TT it can be helpful to enable variable C options. You can do this in a Catalyst environment by adding a C line to the C<__PACKAGE__->config> declaration in -C: +C: __PACKAGE__->config({ CATALYST_VAR => 'Catalyst', @@ -872,9 +876,10 @@ Older Catalyst-related documents often suggest that you add a "private end action" to your application class (C) or Root.pm (C). These examples should be easily converted to L by simply adding -C to the C definition. If end sub is -defined in your application class (C), you should also migrate -it to C. +the attribute C<:ActionClass('RenderView')> to the C +definition. If end sub is defined in your application class +(C), you should also migrate it to +C. =item *