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=e15c9c1f8f9f32643956e89a3fd7d23b8f406b8d;hp=afb0a7bae36f8d23687969461afbd818ea09a3e1;hb=056394af33148bedf19220d5f4934bf2615d84e8;hpb=bb2dbfb8c0a5d05cfb875249adfc0ae6b8a50852 diff --git a/lib/Catalyst/Manual/Tutorial/MoreCatalystBasics.pod b/lib/Catalyst/Manual/Tutorial/MoreCatalystBasics.pod index afb0a7b..e15c9c1 100644 --- a/lib/Catalyst/Manual/Tutorial/MoreCatalystBasics.pod +++ b/lib/Catalyst/Manual/Tutorial/MoreCatalystBasics.pod @@ -140,22 +140,23 @@ very similar to Apache configuration files. We will see how to use this feature of Catalyst during the authentication and authorization sections (Part 5 and Part 6). -B: If you are following along in Ubuntu 8.04 or -otherwise using a version of Catalyst prior to v5.7014, you need to be -aware that Catalyst changed from a default format of YAML to the more -straightforward C format. Because Catalyst has long -supported both formats, this tutorial will simply use a configuration -file called C instead of C and Catatlyst will -automcatically use the new format. Just be aware that earlier versions -of Catalyst will still create the C file and that you will -need to B> and create a new C file by -hand, but otherwise this transition is very painless. The default -contents of C should only consist of one line: C. Also be aware that you can continue to use any format -supported by -L and -L, including YAML -- Catalyst will -automatically look for any of the supported configuration file formats. +B: If you are following along in Ubuntu 8.04 or +otherwise using a version of L prior +to version 1.06, you need to be aware that Catalyst changed from a +default format of YAML to the more straightforward C +format. Because Catalyst has long supported both formats, this +tutorial will simply use a configuration file called C +instead of C and Catatlyst will automcatically use the new +format. Just be aware that earlier versions of Catalyst will still +create the C file and that you will need to B> and create a new C file by hand, but +otherwise this transition is very painless. The default contents of +C should only consist of one line: C. Also be +aware that you can continue to use any format supported by +L and +L, including YAML -- Catalyst will +automatically look for any of the supported configuration file +formats. C: This script can be useful for converting between configuration formats: @@ -621,6 +622,12 @@ the schema information from the database every time the application starts. And finally, C is the standard DBI connect string for use with SQLite. +B: Although the C option to the DBIC helper +makes for a nifty demonstration, is only really suitable for very +small applications. After this demonstration, you should almost always +use the C option that we switch to below. + + =head1 RUN THE APPLICATION First, let's enable an environment variable option that causes @@ -657,7 +664,7 @@ Your development server log output should display something like: [debug] Loaded dispatcher "Catalyst::Dispatcher" [debug] Loaded engine "Catalyst::Engine::HTTP" [debug] Found home "/home/me/MyApp" - [debug] Loaded Config "/home/me/MyApp/myapp.yml" + [debug] Loaded Config "/home/me/MyApp/myapp.conf" [debug] Loaded components: .-----------------------------------------------------------------+----------. | Class | Type |