[Catalyst-commits] r11837 - in Catalyst-Manual/5.80/trunk/lib/Catalyst/Manual/Tutorial: . 09_AdvancedCRUD

hkclark at dev.catalyst.perl.org hkclark at dev.catalyst.perl.org
Sun Nov 15 14:25:27 GMT 2009


Author: hkclark
Date: 2009-11-15 14:25:26 +0000 (Sun, 15 Nov 2009)
New Revision: 11837

Modified:
   Catalyst-Manual/5.80/trunk/lib/Catalyst/Manual/Tutorial/01_Intro.pod
   Catalyst-Manual/5.80/trunk/lib/Catalyst/Manual/Tutorial/09_AdvancedCRUD/09_FormFu.pod
Log:
Update FormFu AdvancedCRUD section to use pre-build debian packages and include a few minor fixes
Add libhtml-formfu-model-dbic-perl to list of installed debian packages

Modified: Catalyst-Manual/5.80/trunk/lib/Catalyst/Manual/Tutorial/01_Intro.pod
===================================================================
--- Catalyst-Manual/5.80/trunk/lib/Catalyst/Manual/Tutorial/01_Intro.pod	2009-11-15 14:04:02 UTC (rev 11836)
+++ Catalyst-Manual/5.80/trunk/lib/Catalyst/Manual/Tutorial/01_Intro.pod	2009-11-15 14:25:26 UTC (rev 11837)
@@ -402,7 +402,8 @@
     sudo aptitude -y install sqlite3 libdbd-sqlite3-perl libcatalyst-perl \
         libcatalyst-modules-perl libdbix-class-timestamp-perl \
         libdbix-class-encodedcolumn-perl libperl6-junction-perl \
-        libdatetime-format-sqlite-perl libconfig-general-perl
+        libdatetime-format-sqlite-perl libconfig-general-perl \
+        libhtml-formfu-model-dbic-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 

Modified: Catalyst-Manual/5.80/trunk/lib/Catalyst/Manual/Tutorial/09_AdvancedCRUD/09_FormFu.pod
===================================================================
--- Catalyst-Manual/5.80/trunk/lib/Catalyst/Manual/Tutorial/09_AdvancedCRUD/09_FormFu.pod	2009-11-15 14:04:02 UTC (rev 11836)
+++ Catalyst-Manual/5.80/trunk/lib/Catalyst/Manual/Tutorial/09_AdvancedCRUD/09_FormFu.pod	2009-11-15 14:25:26 UTC (rev 11837)
@@ -59,7 +59,7 @@
 This portion of the tutorial explores L<HTML::FormFu|HTML::FormFu> and 
 how it can be used to manage forms, perform validation of form input, 
 as well as save and restore data to/from the database.  This was written
-using HTML::FormFu version 0.03007.
+using HTML::FormFu version 0.05001.
 
 See 
 L<Catalyst::Manual::Tutorial::09_AdvancedCRUD|Catalyst::Manual::Tutorial::09_AdvancedCRUD>
@@ -67,30 +67,6 @@
 L<HTML::FormFu|HTML::FormFu>.
 
 
-=head1 Install HTML::FormFu
-
-If you are following along in Debian 5, it turns out that some of the 
-modules we need are not yet available as Debian packages at the time 
-this was written.  To install it with a combination of Debian packages 
-and traditional CPAN modules, first use C<aptitude> to install most of 
-the modules:
-
-we need to install the
-L<HTML::FormFu|HTML::FormFu> package: 
-
-    sudo aptitude -y install libhtml-formfu-perl libmoose-perl \
-        libregexp-assemble-perl libhtml-formfu-model-dbic-perl
-        
-    ...
-    
-    sudo aptitude clean
-
-Then use the following command to install directly from CPAN the modules 
-that aren't available as Debian packages:
-
-    sudo cpan Catalyst::Component::InstancePerContext Catalyst::Controller::HTML::FormFu
-
-
 =head1 HTML::FormFu FORM CREATION
 
 This section looks at how L<HTML::FormFu|HTML::FormFu> can be used to 
@@ -272,9 +248,9 @@
 click the new HTML::FormFu "Create" link at the bottom to display the
 form.  Fill in the following values:
 
-    Title  = "Internetworking with TCP/IP Vol. II"
-    Rating = "4"
-    Author = "Comer"
+Title:  Internetworking with TCP/IP Vol. II
+Rating: 4
+Author: Comer
     
 Click the Submit button, and you will be returned to the Book List page
 with a "Book created" status message displayed.
@@ -526,7 +502,7 @@
 
 We make sure the book lookup returned a valid book.  If not, we set 
 the error message and return to the book list.
- 
+
 =item *
 
 If the form has been submitted and passes validation, we skip creating a 




More information about the Catalyst-commits mailing list