RE: [PEAR] MDB 2.0 release and features.
| From: | Lukas Smith | Date: | Fri, 08 Aug 2003 18:17:41 +0000 |
| Subject: | RE: [PEAR] MDB 2.0 release and features. | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-7121@lists.php.net to get a copy of this message | ||
> From: Fabrizio Balliano [mailto:fabrizio.balliano@crealabs.it]
> Sent: Friday, August 08, 2003 8:14 PM
> Exactly,
> it would be a nice for an application developer that use MerlinWork to
> have the fields automatically formatted based on their own type.
>
> This could be done instancing the data source from a table or a custom
> query:
> $dbs =& new DB_SOURCE('dbs_id');
> //custom way
> $dbs->set_select_query('SELECT etc..etc..');
> //oo way
> $dbs->set_table('tab_test');
> $dbs->set_fields('field1');
> $dbs->add_join('blah blah');
> etc...
>
> If (in normal case) we have the right type configured than we can
speed
> up development phase.
> Obviously this feature can be overridden.
Well looks alot like what we are aiming for with MDB_DataObject. Work on
this project is a bit stalled ATM. Maybe you want to have a look at
DB_DataObject. Also search the pear-dev archives for more information on
MDB 2.0 and MDB_DataObject and DB_Schema (the new Manager class). Maybe
you can help speed up the development.
Regards,
Lukas