Hi,

im just moving some work to DBIx::Class (which im really liking!), and i have a
question about setting up my Schemas.

The docs for Catalyst::Plugin::DBIC::Schema talk a lot about setting up your
DBIC classes in MyApp::Schema so you can use it on it's own, and then
creating MyApp::Model::FilmDB, which calls MyApp::Schema::Film as it's
Schema Class. So you then have Model::Film which is in Catalyst but doesnt
really exists, it's a creation of the Schema.

i want to know the best way to set up a REAL Model::Film with DBIC. That is,
i have a Catalyst Controller that needs a model to do things relating to CATALYST. i want my controller to pass $c to a model that can do a bunch of
Catalyst related things, and IT calls my DBIC class. In other words i want a
model layer in Catalyst that calls my fixed, not-Catalyst model in MyApp::Schema.

Is there a recomended way of doing this with the Catalyst plugin or a recomended
way of doing it from scratch?

Thank you!

Jen


Do you Yahoo!?
Next-gen email? Have it all with the all-new Yahoo! Mail Beta.
_______________________________________________
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