[Catalyst-commits] r7786 - /
trunk/Catalyst-Manual/lib/Catalyst/Manual/Tutorial
zarquon at dev.catalyst.perl.org
zarquon at dev.catalyst.perl.org
Sat May 24 14:46:29 BST 2008
Author: zarquon
Date: 2008-05-24 14:46:28 +0100 (Sat, 24 May 2008)
New Revision: 7786
Modified:
/
trunk/Catalyst-Manual/lib/Catalyst/Manual/Tutorial/MoreCatalystBasics.pod
Log:
r13171 at zaphod: kd | 2008-05-24 23:41:12 +1000
fixing dynamic/static mix-up
Property changes on:
___________________________________________________________________
Name: svk:merge
- 1b129c88-ebf4-0310-add9-f09427935aba:/local/catalyst:4278
1c72fc7c-9ce4-42af-bf25-3bfe470ff1e8:/local/Catalyst:13167
3b9770f9-e80c-0410-a7de-cd203d167417:/local/catalyst:3514
dd8ad9ea-0304-0410-a433-df5f223e7bc0:/local/Catalyst:6909
+ 1b129c88-ebf4-0310-add9-f09427935aba:/local/catalyst:4278
1c72fc7c-9ce4-42af-bf25-3bfe470ff1e8:/local/Catalyst:13171
3b9770f9-e80c-0410-a7de-cd203d167417:/local/catalyst:3514
dd8ad9ea-0304-0410-a433-df5f223e7bc0:/local/Catalyst:6909
Modified: trunk/Catalyst-Manual/lib/Catalyst/Manual/Tutorial/MoreCatalystBasics.pod
===================================================================
--- trunk/Catalyst-Manual/lib/Catalyst/Manual/Tutorial/MoreCatalystBasics.pod 2008-05-24 11:31:16 UTC (rev 7785)
+++ trunk/Catalyst-Manual/lib/Catalyst/Manual/Tutorial/MoreCatalystBasics.pod 2008-05-24 13:46:28 UTC (rev 7786)
@@ -594,13 +594,13 @@
as "DBIC") has rapidly emerged as the Perl-based ORM technology of choice.
Most new Catalyst applications rely on DBIC, as will this tutorial.
-=head2 Create a DBIC Model
+=head2 Create a dynamic DBIC Model
-Use the C<create=static> model helper option to build a model that
+Use the C<create=dynamic> model helper option to build a model that
dynamically reads your database structure every time the application
starts:
- $ script/myapp_create.pl model MyAppDB DBIC::Schema MyApp::Schema::MyAppDB create=static dbi:SQLite:myapp.db
+ $ script/myapp_create.pl model MyAppDB DBIC::Schema MyApp::Schema::MyAppDB create=dynamic dbi:SQLite:myapp.db
exists "/home/me/MyApp/script/../lib/MyApp/Model"
exists "/home/me/MyApp/script/../t"
created "/home/me/MyApp/script/../lib/MyApp/Schema"
More information about the Catalyst-commits
mailing list