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=b4e584f518223dd71dfe5e3162331e1ca4400907;hp=1c2086a074bd2da95a861df704a1977656a191cd;hb=1cde0fd603f0f21f0197632bd19904f468f28c83;hpb=565a85df0fb79d08d54a7bd5c1f6196b4fab0282 diff --git a/lib/Catalyst/Manual/Tutorial/MoreCatalystBasics.pod b/lib/Catalyst/Manual/Tutorial/MoreCatalystBasics.pod index 1c2086a..b4e584f 100644 --- a/lib/Catalyst/Manual/Tutorial/MoreCatalystBasics.pod +++ b/lib/Catalyst/Manual/Tutorial/MoreCatalystBasics.pod @@ -1111,30 +1111,8 @@ L in Ubuntu 8.10 uses the older DBIC C vs. the newer C technique. For new applications, please try to use C since it more easily supports a very useful DBIC -technique called "ResultSet Classes." This tutorial expects to migrate to -C when the next release of Ubuntu comes out. - -If you wish to try C now, you can manually do the -equivalent of the C operation outside of the Catalyst -helper: - - perl -MDBIx::Class::Schema::Loader=make_schema_at,dump_to_dir:./lib -e \ - 'make_schema_at("MyApp::Schema", { debug => 1, use_namespaces => 1, \ - components => ["InflateColumn::DateTime"] },["dbi:SQLite:myapp.db", "", "" ])' - -And then use the helper to only create the Catalyst model class: - - script/myapp_create.pl model DB DBIC::Schema MyApp::Schema dbi:SQLite:myapp.db - -B, it is important to note that C will look -for your C, , etc. files in -C (it adds the subdirection "Result" so that -there can also be a "ResultSet" directory next to it in the -hierarchy). Therefore, if you switch to C, you will -need to modify the path to these "result class" files throughout the -rest of the tutorial. Our recommendation for now would be to complete -the tutorial using C and the try converting to -C after you are done. +technique called "ResultSet Classes." We will migrate to +C in Part 4 (BasicCRUD) of this tutorial. =head2 Updating the Generated DBIC Schema Files