On Thu, 2006-03-09 at 00:11 -0300, Nilson Santos Figueiredo Junior wrote: > You get one nice thing, though: $c->model('Artist') (where $c is the > Catalyst context object) returns the appropriate object for the > "Artist" model.
I never understood the point of this. That code just replaces the name "My::App::Artist" or similar. It seems like an attempt to make model classes interchangeable without modifying the driving code, but they're really not interchangeable. You can't swap one made with Rose::DB::Object for one made with Class::DBI without changing lots of code. > I think the main thing really is the Helper class provided along with > the models, which provide scaffolding so you're up and running as > quickly as possible using that model. People do seem to like that, at least to see some example code. Also, the central configuration seems like a possibly useful feature. - Perrin ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Rose-db-object mailing list Rose-db-object@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rose-db-object