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 gross.

--
Matt S Trout, Technical Director, Shadowcat Systems Ltd.
Offering custom development, consultancy and support contracts for Catalyst, DBIx::Class and BAST. Contact mst (at) shadowcatsystems.co.uk for details. + Help us build a better perl ORM: http://dbix- class.shadowcatsystems.co.uk/ +



_______________________________________________
List: [email protected]
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to