X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Manual.git;a=blobdiff_plain;f=lib%2FCatalyst%2FManual%2FTutorial%2F02_CatalystBasics.pod;fp=lib%2FCatalyst%2FManual%2FTutorial%2F02_CatalystBasics.pod;h=45b32a12f4ed5dc7132b3b5016e4bf1f49fc4409;hp=3808ec05921e800e4ac3ab4f5124e42537479244;hb=2217b252905d370f4f7840cf78996d43c79e5d4f;hpb=b9e431e31e8cbd4efc46e4270098567faf7e4f29 diff --git a/lib/Catalyst/Manual/Tutorial/02_CatalystBasics.pod b/lib/Catalyst/Manual/Tutorial/02_CatalystBasics.pod index 3808ec0..45b32a1 100644 --- a/lib/Catalyst/Manual/Tutorial/02_CatalystBasics.pod +++ b/lib/Catalyst/Manual/Tutorial/02_CatalystBasics.pod @@ -74,7 +74,7 @@ clean "separation of control" between the different portions of your application. Given that many other documents cover this subject in detail, MVC will not be discussed in depth here (for an excellent introduction to MVC and general Catalyst concepts, please see -L). In short: +L). In short: =over 4 @@ -110,7 +110,7 @@ automatically create our Catalyst model for use with a database. You can checkout the source code for this example from the catalyst subversion repository as per the instructions in -L. +L. =head1 CREATE A CATALYST PROJECT @@ -118,10 +118,10 @@ L. 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 (see -L for more information on helpers). +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. +scripts unless you install both L +and L. In this first chapter of the tutorial, use the Catalyst C script to initialize the framework for an application called C: @@ -279,11 +279,11 @@ as a "404" message or a redirect, but for now just leave it alone. The "C<$c>" here refers to the Catalyst context, which is used to access the Catalyst application. In addition to many other things, the Catalyst context provides access to "response" and "request" objects. (See -L, L, and -L) +L, L, and +L) C<$c-Eresponse-Ebody> sets the HTTP response (see -L), while +L), while C<$c-Ewelcome_message> is a special method that returns the welcome message that you saw in your browser. @@ -385,7 +385,7 @@ The "view" keyword tells the create script that you are creating a view. The first argument "HTML" tells the script to name the View module "HTML.pm", which is a commonly used name for TT views. You can name it anything you want, such as "MyView.pm". If you have more than one view, be sure to set the -default_view in Hello.pm (See L for more +default_view in Hello.pm (See L for more details on setting this). =item *