Here's a few links to get you started: P of EAA: Table Data Gateway http://martinfowler.com/eaaCatalog/tableDataGateway.html <http://martinfowler.com/eaaCatalog/tableDataGateway.html> P of EAA: Row Data Gateway http://martinfowler.com/eaaCatalog/rowDataGateway.html <http://martinfowler.com/eaaCatalog/rowDataGateway.html> P of EAA: Active Record http://martinfowler.com/eaaCatalog/activeRecord.html <http://martinfowler.com/eaaCatalog/activeRecord.html> Object-relational mapping http://en.wikipedia.org/wiki/Object-relational_mapping <http://en.wikipedia.org/wiki/Object-relational_mapping> I've used frameworks that have implemented both patterns, and I can't really tell the difference in day to day use, and personally can't see any advantage in integrating an ORM into ZF. However, I've only been studying design patterns for a couple of years now and am in no way an expert on this. -- Eric Marden Sr. PHP Developer
Bonnier Corporation 460 N. Orlando Avenue, Suite 200 Winter Park, Florida 32789 www.bonniercorp.com <http://www.bonniercorp.com/> ________________________________ From: alessandro cinelli [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 19, 2008 8:50 AM To: [email protected] Subject: [fw-general] ORM or Zend_DB_table hi, i'm new to Zend Framework and as i said in my previous posts i would like to understand a little the design technology behind it. I'm still a newbie in the php programming, but i used Symfony and Cakephp frameworks. Googling about the Zend Framework db tecnology i discover that someone says that ZF framework doesn't implements an ORM, Active Records pattern, but a Table/Row Data Gateway pattern and i found articles about integrating Propel or Doctrine in ZF, to implement ORM. The questions are: Can someone explain me in poor words the difference between Active Records and Table/Row Data Gateway? Which are the advantages integrating Propel/Doctrine in Zend Framework ? thanks, cirpo
