X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst%2FManual%2FTutorial%2F01_Intro.pod;h=995654adcd8842fca2c421649060ba1942505ed6;hb=462f687dffd66c46f8ff4c908fa93051a866de00;hp=847b2180807f1c6472455f0ac1399beab3163c02;hpb=a6b4cff52924c243ec22659fe6f91e2fe638c71b;p=catagits%2FCatalyst-Manual.git diff --git a/lib/Catalyst/Manual/Tutorial/01_Intro.pod b/lib/Catalyst/Manual/Tutorial/01_Intro.pod index 847b218..995654a 100644 --- a/lib/Catalyst/Manual/Tutorial/01_Intro.pod +++ b/lib/Catalyst/Manual/Tutorial/01_Intro.pod @@ -117,7 +117,7 @@ A simple application that lists and adds books. =item * -The use of L (DBIC) for the model (including +The use of L (DBIC) for the model (including some of the more advanced techniques you will probably want to use in your applications). @@ -158,7 +158,7 @@ DBIx::Class.) =item * -The use of L or L +The use of L or L for automated form processing and validation. =back @@ -244,12 +244,10 @@ Add the following line to the bottom of this file: Install Catalyst and related libraries: sudo aptitude update - sudo aptitude -y install sqlite3 libdbd-sqlite3-perl libcatalyst-perl \ - libcatalyst-modules-perl libdbix-class-timestamp-perl \ - libdatetime-format-sqlite-perl libconfig-general-perl \ - libhtml-formfu-model-dbic-perl libterm-readline-perl-perl \ - libdbix-class-encodedcolumn-perl libperl6-junction-perl \ - libtest-pod-perl + sudo aptitude -y install libcatalyst-perl libdatetime-format-sqlite-perl \ + libdbix-class-encodedcolumn-perl sqlite3 libcatalyst-modules-perl \ + libperl6-junction-perl libcatalyst-modules-extra-perl \ + libdbix-class-timestamp-perl sudo aptitude clean =item 8 @@ -278,88 +276,47 @@ v5.80020 might show up as 5.8002): =item * -Debian 5 (Lenny) +Debian 6 (Squeeze) =item * -Catalyst v5.80020 (note: may show up as '5.8002' without the trailing zero) +Catalyst v5.80025 =item * -Catalyst::Devel v1.26 +Catalyst::Devel v1.28 =item * -DBIx::Class v0.08115 +DBIx::Class v0.08123 =item * -Catalyst::Model::DBIC::Schema v0.40 +Catalyst::Model::DBIC::Schema v0.41 =item * -Template Toolkit v2.20 +Template Toolkit v2.22 -=item * - -Catalyst Plugins - -The plugins used in this tutorial all have sufficiently stable APIs that -you shouldn't need to worry about versions. However, there could be -cases where the tutorial is affected by what version of plugins you -use. This tutorial has been tested against the following set of plugins: - -=over 4 - -=item * - -Catalyst::Plugin::Authentication -- v0.10016 - -=item * - -Catalyst::Plugin::Authorization::Roles -- v0.08 - -=item * - -Catalyst::Plugin::ConfigLoader -- v0.27 - -=item * - -Catalyst::Plugin::Session -- v0.29 - =item * -Catalyst::Plugin::Session::State::Cookie -- v0.17 - -=item * - -Catalyst::Plugin::Session::Store::File -- v0.18 - -=item * - -Catalyst::Plugin::StackTrace -- v0.11 - -=item * - -Catalyst::Plugin::Static::Simple -- v0.29 - -=back - -=item * - -HTML::FormFu -- v0.06001 +HTML::FormFu -- v0.07002 =item * B You can check the versions you have installed with the -following command: +following command (note the slash before the space): + + perl -M<_mod_name_>\ 999 + +or: perl -M<_mod_name_> -e 'print "$<_mod_name_>::VERSION\n"' For example: - perl -MCatalyst -e 'print "$Catalyst::VERSION\n";' + perl -MCatalyst::Devel\ 999 or: @@ -503,16 +460,14 @@ command-line environment. Install Catalyst: sudo aptitude update - sudo aptitude -y install sqlite3 libdbd-sqlite3-perl libcatalyst-perl \ - libcatalyst-modules-perl libdbix-class-timestamp-perl \ - libdatetime-format-sqlite-perl libconfig-general-perl \ - libhtml-formfu-model-dbic-perl libterm-readline-perl-perl \ - libdbix-class-encodedcolumn-perl libperl6-junction-perl \ - libtest-pod-perl - -Let it install (normally about a 30 to 90-second operaton) and you are -done. (Note the '\' above. Depending on your environment, you might -be able to cut and paste the text as shown or need to remove the '\' + sudo aptitude -y install libcatalyst-perl libdatetime-format-sqlite-perl \ + libdbix-class-encodedcolumn-perl sqlite3 libcatalyst-modules-perl \ + libperl6-junction-perl libcatalyst-modules-extra-perl \ + libdbix-class-timestamp-perl + +Let it install (normally about a 30 to 90-second operation) and you are +done. (Note the '\' above. Depending on your environment, you might be +able to cut and paste the text as shown or need to remove the '\' characters to that the command is all on a single line.) If you are using an image other than the "rescue" ISO, you will also need @@ -677,7 +632,7 @@ CatInABox You can get more information at L or -L. +L. =item * @@ -686,7 +641,7 @@ Frank Speiser's Amazon EC2 Catalyst SDK There are currently two flavors of publicly available Amazon Machine Images (AMI) that include all the elements you'd need to begin developing in a fully functional Catalyst environment within minutes. -See L +See L for more details. =back @@ -695,7 +650,7 @@ for more details. For additional information and recommendations on Catalyst installation, please refer to -L. +L. =head1 DATABASES @@ -724,7 +679,7 @@ with the following commands: cd MyApp_Chapter8/MyApp CATALYST_DEBUG=0 prove -wl t -If you wish to include the L section in your tests, +If you wish to include the L section in your tests, substitute C for C in the URL above (don't forget to "cd" out of the Ch8 directory if you ran the code above).