X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Manual.git;a=blobdiff_plain;f=lib%2FCatalyst%2FManual%2FTutorial%2FMoreCatalystBasics.pod;h=cf413cda339e895b1ba927d735265a2e61ed1ee5;hp=1bcb2c08774301a1cfa012329a917a0a8882f7cf;hb=9ad715b3a89ba2d34123a2d0f4624302bc169f78;hpb=d04961970a25ec3dc831f89be5cd6e27fdec884a diff --git a/lib/Catalyst/Manual/Tutorial/MoreCatalystBasics.pod b/lib/Catalyst/Manual/Tutorial/MoreCatalystBasics.pod index 1bcb2c0..cf413cd 100644 --- a/lib/Catalyst/Manual/Tutorial/MoreCatalystBasics.pod +++ b/lib/Catalyst/Manual/Tutorial/MoreCatalystBasics.pod @@ -208,6 +208,10 @@ Note: L output appears in your browser, not in the console window from which you're running your application, which is where logging output usually goes. +B You will want to disable +L before you put your +application into production, but it can be helpful during development. + =back Note that when specifying plugins on the C line, you can @@ -275,12 +279,12 @@ B Catalyst actions are regular Perl methods, but they make use of Nicholas Clark's C module (that's the C<: Local> next to the C in the code above) to provide additional information to the Catalyst dispatcher logic. Many newer Catalyst -applications are switching to the use of "Literal" C<: Path> actions +applications are switching to the use of "Literal" C<:Path> actions and C attribute in lieu of C<: Local> and C<: Private>. For -example, C can be used instead of +example, C can be used instead of C (because no path was supplied to C it matches the "empty" URL in the namespace of that module... the same -thing C would do) or C +thing C would do) or C could be used instead of the C above (the C argument to C would make it match on the URL C under C, the namespace of the current module). See "Action Types" in @@ -758,7 +762,7 @@ will use static schema files for more control. This is typical of most One option would be to create a separate schema file for each table in the database, however, lets use the same L used earlier with C to build the static files for us. -First, lets remove the schema file created in Part 2: +First, lets remove the schema file created earlier: $ rm lib/MyApp/Schema.pm @@ -1117,6 +1121,6 @@ Please report any errors, issues or suggestions to the author. The most recent version of the Catalyst Tutorial can be found at L. -Copyright 2006, Kennedy Clark, under Creative Commons License +Copyright 2006-2008, Kennedy Clark, under Creative Commons License (L).