I think this kind of functionality would be very useful. It could be done in
a separate class hierarchy than Zend_Db. We could have a Zend_Db_Schema or
Zend_Db_Admin class.
Andi
> -----Original Message-----
> From: oetting [mailto:jacob-wv+1p6JG8zDZaaYASwVUlg@xxxxxxxxxxxxxxxx]
> Sent: Thursday, December 14, 2006 2:13 PM
> To: fw-db-wwOhfgvld6hpLGFMi4vTTA@xxxxxxxxxxxxxxxx
> Subject: Re: [fw-db] Table manipulation in Zend_Db_Adaptor
>
>
>
>
> Rob Allen wrote:
> >
> > The danger is that we might bloat the db adaptes with stuff that is
> > rarely used. When I get some spare time, I'll tidy up the proof of
> > concept code that I wrote back when 0.1 was current and see
> what the
> > overhead actually is.
> >
> > Regards,
> >
> > Rob...
> >
> >
>
> Yes you are right, it would not be used in all cases. The
> alternative is to have an entire extra set of adaptors for
> this functionality alone, this sertanly has its disadvantages as well.
>
> This functionality would provide a base that would allow many
> nice features:
> Cross db schema managment (of curse)
> Automatic form generation (based on the datatypes) ORM ...
>
> I would be very happy to contribute in this area, I was
> thinking an implementation of the mentioned methods for
> MySQL. But if you already have written a proof of concept I
> won't do that.
>
> Jacob
>
>
> --
> View this message in context:
> http://www.nabble.com/Table-manipulation-in-Zend_Db_Adaptor-tf
> 2823225s16154.html#a7882328
> Sent from the Zend DB mailing list archive at Nabble.com.
>
|