[Catalyst] Mapping Schema to Model in Catalyst?

dennis ddaupert at sbcglobal.net
Sun May 14 21:39:01 CEST 2006


You put quite a bit of time into your reply, and I want to thank you 
immensely. I'll be trying out your suggestions, tho with mother's day 
festivities, it might be a day or so. I've quickly plugged in the line:

$c->stash->{quotes} = [$c->model('Quotes')->find($id)];

but found that didn't work. The other bits will take a bit of study.
But the really nice thing is, you provided a complete example, rather than 
just a fragment here and there:

package myApp::Schema::db;
package myApp::Schema::base;
package myApp::Schema::db::members::members;
package myApp::Model::db;
controller access code example

Plenty to think about, and learn from. I'll let you know how I get along.


More information about the Catalyst mailing list