View Source

<p>See <a href="http://martinfowler.com/eaaCatalog/unitOfWork.html">Martin Folwer Unit of Work page</a></p>

<p>Unit of Work is a pattern used to delay the object persistance (saving). The main goal is to leave PHP output it's content and delay the saving of the model object to after the treatment.</p>

<p>To do this, the class Zend_Db_Table_Row could use a container (array) to stock its instances, and with register_shutdown_function(), delay their saving.&nbsp; I met problems with that, anyway, I already have a patch for working on that.</p>

<p>Perhaps another object should be used, or pehaps UOW is not a good idea for ZF ...&nbsp;</p>