« Return to Thread: [need advices] An idea to build a KISS ORM system upon Zend_Db_Table

Re: [need advices] An idea to build a KISS ORM system upon Zend_Db_Table

by Rodrigo Moraes :: Rate this Message:

Reply to Author | View in Thread

On 7/11/06, Fabien MARTY wrote:
> - First, we need to introduce two protected properties in Table.php file
> protected $_rowClassName = 'Zend_Db_Table_Row';
> protected $_rowsetClassName = 'Zend_Db_Table_Rowset';

I think this makes a lot of sense and adds a lot of flexibility to
Zend_Db_Table. We can make our own base class subclassing
Zend_Db_Table and changing fetchNew(), fetchRow() and fetchAll() to
implement this idea, but I think it would be worth to have this in
Zend_Db_Table itself, unless there are other plans for these
methods...

cheers,
rodrigo moraes / brazil

 « Return to Thread: [need advices] An idea to build a KISS ORM system upon Zend_Db_Table