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=2c2ea7a757b8e06daf6fc04a51a5e3bdc25fd38e;hp=39d41bdb9856794dfd3b49104de44efde525ed58;hb=a1de5b6537e37154353b246b66def4f0264b731f;hpb=2217b252905d370f4f7840cf78996d43c79e5d4f diff --git a/lib/Catalyst/Manual/Tutorial/03_MoreCatalystBasics.pod b/lib/Catalyst/Manual/Tutorial/03_MoreCatalystBasics.pod index 39d41bd..2c2ea7a 100644 --- a/lib/Catalyst/Manual/Tutorial/03_MoreCatalystBasics.pod +++ b/lib/Catalyst/Manual/Tutorial/03_MoreCatalystBasics.pod @@ -64,16 +64,19 @@ will be too limited to be of use to anyone, it should provide a basic environment where we can explore a variety of features used in virtually all web applications. -You can check out the source code for this example from the Catalyst -Subversion repository as per the instructions in +Source code for the tutorial in included in the F +directory of the Tutorial Virtual machine (one subdirectory per +chapter). There are also instructions for downloading the code in L. Please take a look at -L before -doing the rest of this tutorial. Although the tutorial should work -correctly under most any recent version of Perl running on any operating -system, the tutorial has been written using Debian 6 and tested to be -sure it runs correctly in this environment. +L +before doing the rest of this tutorial. Although the tutorial should +work correctly under most any recent version of Perl running on any +operating system, the tutorial has been written using the virtual +machine that is available for download. The entire tutorial has been +tested to be sure it runs correctly in this environment, so it is +the most trouble-free way to get started with Catalyst. =head1 CREATE A NEW APPLICATION @@ -92,6 +95,9 @@ tutorial or in a directory that already has a "MyApp" subdirectory): ... created "MyApp/script/myapp_create.pl" Change to application directory and Run "perl Makefile.PL" to make sure your install is complete + +And change the "MyApp" directory the helper created: + $ cd MyApp This creates a similar skeletal structure to what we saw in Chapter 2 of @@ -103,14 +109,14 @@ if you are using Strawberry Perl.) =head1 EDIT THE LIST OF CATALYST PLUGINS One of the greatest benefits of Catalyst is that it has such a large -library of bases classes and plugins available that you can use easily +library of base classes and plugins available that you can use to easily add functionality to your application. Plugins are used to seamlessly integrate existing Perl modules into the overall Catalyst framework. In general, they do this by adding additional methods to the C object (generally written as C<$c>) that Catalyst passes to every component throughout the framework. - +Take a look at the file C that the helper created above. By default, Catalyst enables three plugins/flags: =over 4 @@ -124,12 +130,12 @@ C