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=7e54dcb0be39a400239e6f907ad182e1717be3e9;hp=6e7e3cf5d744dd4b6bf0fb92bfa9b51dc9778efd;hb=3b1fa91be1d89d2297aa9e8e83462344d9cd9820;hpb=dc9a0503491be76ad1c6fdadad71126da10cca70 diff --git a/lib/Catalyst/Manual/Tutorial/MoreCatalystBasics.pod b/lib/Catalyst/Manual/Tutorial/MoreCatalystBasics.pod index 6e7e3cf..7e54dcb 100644 --- a/lib/Catalyst/Manual/Tutorial/MoreCatalystBasics.pod +++ b/lib/Catalyst/Manual/Tutorial/MoreCatalystBasics.pod @@ -1,11 +1,11 @@ =head1 NAME -Catalyst::Manual::Tutorial::MoreCatalystBasics - Catalyst Tutorial - Part 3: More Catalyst Application Development Basics +Catalyst::Manual::Tutorial::MoreCatalystBasics - Catalyst Tutorial - Chapter 3: More Catalyst Application Development Basics =head1 OVERVIEW -This is B for the Catalyst tutorial. +This is B for the Catalyst tutorial. L @@ -56,26 +56,33 @@ L =head1 DESCRIPTION -This part of the tutorial builds on the work done in Part 2 to explore -some features that are more typical of "real world" web applications. -From this part of the tutorial onward, we will be building a simple -book database application. Although the application 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. +This chapter of the tutorial builds on the work done in Chapter 2 to +explore some features that are more typical of "real world" web +applications. From this chapter of the tutorial onward, we will be +building a simple book database application. Although the application +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 checkout the source code for this example from the catalyst -subversion repository as per the instructions in -L +You can check out the source code for this example from the Catalyst +Subversion repository as per the instructions 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 5 and +tested to be sure it runs correctly in this environment. =head1 CREATE A NEW APPLICATION -The remainder of the tutorial will build an application call C. -Use the Catalyst C script to initialize the framework for -an application called C (make sure you aren't still inside the -directory of the C application from the previous part of the -tutorial): +The remainder of the tutorial will build an application called C. +First use the Catalyst C script to initialize the framework +for the C application (make sure you aren't still inside the +directory of the C application from the previous chapter of the +tutorial or in a directory that already has a "MyApp" subdirectory): $ catalyst.pl MyApp created "MyApp" @@ -86,38 +93,38 @@ tutorial): created "MyApp/script/myapp_create.pl" $ cd MyApp -This creates a similar skeletal structure to what we saw in Part 2 of -the tutorial, except with C or C substituted for +This creates a similar skeletal structure to what we saw in Chapter 2 of +the tutorial, except with C and C substituted for C and C. =head1 EDIT THE LIST OF CATALYST PLUGINS One of the greatest benefits of Catalyst is that it has such a large -library of plugins available. 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. +library of plugins and base classes available. 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. By default, Catalyst enables three plugins/flags: =over 4 -=item * +=item * C<-Debug> Flag Enables the Catalyst debug output you saw when we started the C