Hello,

> I just posted to the Catalyst list today mentioning that I'd like
> someone to create a Catalyst::Model::RDBO.  I'll do it myself
> eventually.  But either way, I'm willing to make this change to make
> life easier for whoever ends up doing it.

I'm following the Cat mailing lists since the beginning. Really, the
loader based models have caused more problems than they solved.

I imagine a "plain" model, but this would be so simple that it's hardly
worth an own distribution. My model looks like this:

package MyApp::M::Rose;
$VERSION = v0.1.0;

use strict;
use warnings;
use base 'Catalyst::Base';

# load the real rdbo classes
use My::RDBO::Table1;
use My::RDBO::Table2;
use My::RDBO::Table3;


1;


Ok, one could go further and let all RDBO classes inherit form
Catalyst::Base (or ::Model). This would give the possibility to use the
comp() method (which calls ->new on the model class). But I don't need it.


Bye,
Uwe


PS: Maybe a helper which uses RDBO's code generation would be of greater
use than a loader based model.


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Rose-db-object mailing list
Rose-db-object@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rose-db-object

Reply via email to