[Catalyst] Catalyst::Helper::Model::DBIC::Schema patchette?
Matt S Trout
dbix-class at trout.me.uk
Mon Jan 22 13:40:34 GMT 2007
On 18 Jan 2007, at 16:32, Jonathan Rockway wrote:
> Kieren Diment wrote:
>> script/myapp_create.pl model CatalystModelName DBIC::Schema
>> MySchemaClass [ create=dynamic | create=static ] [ connect_info
>> arguments ]
> I would recommend an example that uses some usual naming conventions:
> create.pl model SomethingDB DBIC::Schema Schema::SomethingDB
> create=static dbi:SQLite:database
Which reminds me, that's a toss convention and strongly
disreccommended - I think I've only seen it in the tutorial so far.
MyApp::Schema::Foo or MyApp::FooStore or MyApp::FooDB are all much
much better; MyAppDB eats a second global namespace and as such is
Matt S Trout, Technical Director, Shadowcat Systems Ltd.
Offering custom development, consultancy and support contracts for
DBIx::Class and BAST. Contact mst (at) shadowcatsystems.co.uk for
+ Help us build a better perl ORM: http://dbix-
More information about the Catalyst