X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst%2FManual%2FTutorial.pod;h=af64d7fc9d6afae0252c0080b357df2ff5e92265;hb=bbcadec76eaab0313542a7298e687060ab54c4fb;hp=eb1af711b21645a491830fc3c9ee1d5efdc1f23f;hpb=61b1e958102e2371a79e07a7e2cdbb371797d202;p=catagits%2FCatalyst-Runtime.git diff --git a/lib/Catalyst/Manual/Tutorial.pod b/lib/Catalyst/Manual/Tutorial.pod index eb1af71..af64d7f 100644 --- a/lib/Catalyst/Manual/Tutorial.pod +++ b/lib/Catalyst/Manual/Tutorial.pod @@ -59,7 +59,7 @@ files. =head2 Testing out the sample application You can test out your new application by running the server script that -catalyst provides: +Catalyst provides: $ cd My-App $ script/server.pl @@ -69,7 +69,7 @@ catalyst provides: .=----------------------+----------------------+---------------=. | Private | Class | Code | |=----------------------+----------------------+---------------=| - | /default | MyApp | CODE(0x86f08ac | + | /default | MyApp | CODE(0x86f08ac)| '=----------------------+----------------------+---------------=' "My::App" defined "!default" as "CODE(0x83fd570)" [...] [catalyst] [info] My::App powered by Catalyst 5.00 @@ -186,7 +186,7 @@ the application module). The call to C sets up configuration data for the application. The C and C items are the minimum required, and specify the name of the application and the path to the root directory where -documents, images and templates can be found. +documents, images, and templates can be found. Catalyst associates I with URLs and on receiving a request dispatches to the action that matches to request URL. The call to @@ -195,10 +195,10 @@ this action registered the application will respond to all requests with the same message "Congratulations, My::App is on Catalyst!". As you see, the default action is defined as a Private action. -Most private actions are not directly available from a web url. The -exceptions are the built-in actions, 'default','begin','end' and -'auto'. The rest can only be reached by using C. - +Most private actions are not directly available from a web url. This +also includes the built-in actions, 'default','begin','end', and +'auto', although they will be called as part of some chains. +The rest can only be reached by using C. The call to the C method also triggers the second stage of Catalyst's initialization process. In this phase Catalyst searches @@ -229,7 +229,7 @@ You can start extending the application by adding new actions: } -TODO: explain briefly about plugins, actions and components +TODO: explain briefly about plugins, actions, and components regex actions passed subexpression matches in $c->req->snippets (array ref). @@ -243,21 +243,21 @@ Catalyst works well with Template Toolkit. If you are unfamiliar with Template Toolkit then I suggest you look at L, install C