On 10/25/05, Peter Speltz <[EMAIL PROTECTED]> wrote:
> On 10/25/05, Jim Mintha <[EMAIL PROTECTED]> wrote:
> >
> >
> > and my version never gets called. My solution was to add the line:
> >
> > return if $caller->can("column_type");
>
> Thats seems pretty good until Maypole catches up with users needs. I
> think Mayole::Model should specify an interface for not only column
> type but all column info that is gleaned from describe table and cache
> it so the database is only hit when setup is run.
Have a look at CDBI::FormBuilder::Meta::Table and
CDBI::FormBuilder::Meta::Column. In fact they're completely
standalone, not dependent on FB, I'm intending to release them as CDBI
plugins. They supply an interface to cached column metadata. I've put
off releasing them separately because I'm not confident they'll work
for other RDBMS (they work fine with MySQL and SQLite).
d.
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
Maypole-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/maypole-users