X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Manual.git;a=blobdiff_plain;f=lib%2FCatalyst%2FManual%2FTutorial%2F01_Intro.pod;h=42e53e4688ee3d51d2b0d26c72af5ce73e651d55;hp=9b5062249107e32cbefd0da74b32f1720f749351;hb=7ce05098c9b1df9078e709e5a724e821a3b3b00d;hpb=11bd76471beca4e0f685d5f2de288796e7ea23dd diff --git a/lib/Catalyst/Manual/Tutorial/01_Intro.pod b/lib/Catalyst/Manual/Tutorial/01_Intro.pod index 9b50622..42e53e4 100644 --- a/lib/Catalyst/Manual/Tutorial/01_Intro.pod +++ b/lib/Catalyst/Manual/Tutorial/01_Intro.pod @@ -115,7 +115,7 @@ Subjects covered by the tutorial include: =over 4 -=item * +=item * A simple application that lists and adds books. @@ -125,7 +125,7 @@ The use of L (DBIC) for the model (including some of the more advanced techniques you will probably want to use in your applications). -=item * +=item * How to write CRUD (Create, Read, Update, and Delete) operations in Catalyst. @@ -134,25 +134,25 @@ Catalyst. Authentication ("auth"). -=item * +=item * Role-based authorization ("authz"). -=item * +=item * Attempts to provide an example showing current (5.9) Catalyst practices. -=item * +=item * The use of Template Toolkit (TT). -=item * +=item * Useful techniques for troubleshooting and debugging Catalyst applications. -=item * +=item * The use of SQLite as a database (with code also provided for MySQL and PostgreSQL). (Note: Because we make use of the DBIx::Class Object @@ -160,7 +160,7 @@ Relational Mapping [ORM] layer, out our application will be database agnostic and can easily be used by any of the databases supported by DBIx::Class.) -=item * +=item * The use of L or L for automated form processing and validation. @@ -203,7 +203,7 @@ current directory), but we will keep it short and just use "C<$>". =over 4 -=item 1 +=item 1 Download a Tutorial Virtual Machine image from L @@ -244,7 +244,7 @@ machine. You should get output along the lines of: ... You want the IP address on the second line below the C interface. -The image it design to automatically use a DHCP-assigned address. +The image is designed to automatically use a DHCP-assigned address. Try to ping this IP address from your "host machine" (main desktop): @@ -372,7 +372,7 @@ more information on Iceweasel at L. Also, you might need to add more memory to your virtual machine if you want to run X Windows (or other tools that might require additional -memory). Consult the documentation for you virtualization software +memory). Consult the documentation of your virtualization software for instructions on how to do this (it's usually pretty simple). @@ -385,7 +385,7 @@ that the Perl modules are run from ~/perl5 (in this case, recommend that you also consider using this very handy module. It can greatly ease the process of maintaining and testing different combinations or Perl modules across development, staging, and production -servers. (The "relocatable Perl" feature can also be used to to run +servers. (The "relocatable Perl" feature can also be used to run both the modules B Perl itself from your home directory [or any other directory you chose]). @@ -456,7 +456,7 @@ help: =item * -L +L =item * @@ -481,11 +481,11 @@ v5.80020 might show up as 5.8002): =over 4 -=item * +=item * Debian 6 (Squeeze) -=item * +=item * Catalyst v5.90002 @@ -493,7 +493,7 @@ Catalyst v5.90002 Catalyst::Devel v1.34 -=item * +=item * DBIx::Class v0.08195 @@ -510,7 +510,7 @@ Template Toolkit v2.22 HTML::FormFu -- v0.09004 -=item * +=item * B You can check the versions you have installed with the following command (note the slash before the space): @@ -529,7 +529,7 @@ or: perl -MCatalyst::Devel -e 'print "$Catalyst::Devel::VERSION\n";' -=item * +=item * This tutorial will show URLs in the format of C, but if you are running your web browser from outside the Tutorial @@ -538,8 +538,8 @@ for the C in the URLs (again, you can get the IP address for eth0 from the C command). For example, if your VM has an IP address of 192.168.0.12, you will want to use a base URL of C. Note that the development server -defaults to port 3000 (you can change with with the "-p" option on the -command line. +defaults to port 3000 (you can change with the "-p" option on the +command line). B Depending on the web browser you are using, you might need to hit C or C to pull a fresh page when