X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Manual.git;a=blobdiff_plain;f=lib%2FCatalyst%2FManual%2FTutorial%2F03_MoreCatalystBasics.pod;h=39b818a0d65a4d147bdd917974ac67245ec22fe5;hp=da416ff981d14eccdd1d5bdc929724017a96b532;hb=4ad342ef92054fc21765383024f77f08f7f66c9b;hpb=69d57cda557b2f9a04a058dfd4e875c1d9153133 diff --git a/lib/Catalyst/Manual/Tutorial/03_MoreCatalystBasics.pod b/lib/Catalyst/Manual/Tutorial/03_MoreCatalystBasics.pod index da416ff..39b818a 100644 --- a/lib/Catalyst/Manual/Tutorial/03_MoreCatalystBasics.pod +++ b/lib/Catalyst/Manual/Tutorial/03_MoreCatalystBasics.pod @@ -134,7 +134,7 @@ but a I. Although most of the items specified on the C line of your application class will be plugins, Catalyst supports a limited number of flag options (of these, C<-Debug> is the most common). See the documentation for -C to get details on +L to get details on other flags (currently C<-Engine>, C<-Home>, C<-Log>, and C<-Stats>). If you prefer, there are several other ways to enable debug output: @@ -282,7 +282,7 @@ and open C in your browser. You should get a screen that starts with "Caught exception in MyApp::Controller::Root->index" with sections showing a stacktrace, information about the Request and Response objects, the stash (something -we will learn about soon), the applications configuration configuration. +we will learn about soon), and the applications configuration. B :-) @@ -400,7 +400,7 @@ C would match on the URL C, but "C<:Path('/list')>" would match on C (because of the leading slash). You can use C<:Args()> to specify how many arguments an action should -accept. See L for more +accept. See L for more information and examples. =item * @@ -881,9 +881,9 @@ L version C<0.05000> or later. =head1 ENABLE THE MODEL IN THE CONTROLLER Open C and un-comment the model code we -left disabled earlier so that your version matches the following (un- -comment the line containing C<[$c-Emodel('DB::Book')-Eall]> and -delete the next 2 lines): +left disabled earlier so that your version matches the following +(un-comment the line containing C<[$c-Emodel('DB::Book')-Eall]> +and delete the next 2 lines): =head2 list @@ -1381,7 +1381,7 @@ alternate way to specify the trace option just in case): $ DBIC_TRACE=1 script/myapp_server.pl -r Make sure that the application loads correctly and that you see the -three dynamically created model class (one for each of the Result +three dynamically created model classes (one for each of the Result Classes we created). Then hit the URL L with your browser @@ -1461,11 +1461,11 @@ html" at the end of every field where a user has control over the information that can appear in that field (and can therefore inject markup or code if you don't "neutralize" those fields). In addition to "| html", Template Toolkit has a variety of other useful filters that -can found in the documentation for L. (While we are -on the topic of security and escaping of dangerous values, one of the -advantages of using tools like DBIC for database access or +can be found in the documentation for L. (While we +are on the topic of security and escaping of dangerous values, one of +the advantages of using tools like DBIC for database access or L for form management [see -L +L] is that they automatically handle most escaping for you and therefore dramatically increase the security of your app.) @@ -1474,7 +1474,7 @@ dramatically increase the security of your app.) In some situations, it can be useful to run your application and display a page without using a browser. Catalyst lets you do this using the -C script. Just supply the URL you wish to +C