X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Manual.git;a=blobdiff_plain;f=lib%2FCatalyst%2FManual%2FTutorial%2F02_CatalystBasics.pod;h=8a295a402ef04cbd0df0d4111e799a3d2ae899b9;hp=455b945a432cc205d65bed102abaff5ebb5013ad;hb=d09971d0950d09ed4b766ecbbc1c2c1624a8fd33;hpb=3ab6187c1a123983b6ae29e57f543328ce15755c diff --git a/lib/Catalyst/Manual/Tutorial/02_CatalystBasics.pod b/lib/Catalyst/Manual/Tutorial/02_CatalystBasics.pod index 455b945..8a295a4 100644 --- a/lib/Catalyst/Manual/Tutorial/02_CatalystBasics.pod +++ b/lib/Catalyst/Manual/Tutorial/02_CatalystBasics.pod @@ -103,7 +103,8 @@ them to the necessary model and view. The use of Object-Relational Mapping (ORM) technology for database access. Specifically, ORM provides an automated and standardized means -to persist and restore objects to/from a relational database. +to persist and restore objects to/from a relational database and will +automatically create our Catalyst model for use with a database. =back @@ -132,8 +133,13 @@ script to initialize the framework for an application called C: created "Hello/root" ... created "Hello/script/hello_create.pl" + Change to application directory and Run "perl Makefile.PL" to make sure your install is complete $ cd Hello +Note: If you are using Strawberry Perl on Win32, drop the ".pl" +from the end of the "catalyst.pl" command and simply use +"catalyst Hello". + The C helper script will display the names of the directories and files it creates: @@ -182,13 +188,20 @@ Run the following command to start up the built-in development web server (make sure you didn't forget the "C" from the previous step): - $ script/hello_server.pl +B: The "-r" argument enables reloading on code changes so you +don't have to stop and start the server when you update code. See +C or C