X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Manual.git;a=blobdiff_plain;f=lib%2FCatalyst%2FManual%2FTutorial%2FMoreCatalystBasics.pod;h=4fb9f02f4530f09f622f266c9cfbac9d26a21293;hp=4c9fda5cedbd5f711b1b8bfd88f9bdd7ba15d742;hb=45d511e089515b7a59b6d943bb79a9fbf0ba45d4;hpb=15e1d0b201341bf72fbf027d1450bbddac49e80f diff --git a/lib/Catalyst/Manual/Tutorial/MoreCatalystBasics.pod b/lib/Catalyst/Manual/Tutorial/MoreCatalystBasics.pod index 4c9fda5..4fb9f02 100644 --- a/lib/Catalyst/Manual/Tutorial/MoreCatalystBasics.pod +++ b/lib/Catalyst/Manual/Tutorial/MoreCatalystBasics.pod @@ -594,13 +594,13 @@ in the past, Matt Trout's L (abbreviated 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 model helper option to build a model that +Use the C 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" @@ -657,7 +657,7 @@ Your development server log output should display something like: [debug] Loaded dispatcher "Catalyst::Dispatcher" [debug] Loaded engine "Catalyst::Engine::HTTP" [debug] Found home "/home/me/MyApp" - [debug] Loaded Config "/home/me/MyApp/myapp.yml" + [debug] Loaded Config "/home/me/MyApp/myapp.conf" [debug] Loaded components: .-----------------------------------------------------------------+----------. | Class | Type |