Skip to end of metadata
Go to start of metadata

<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.  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 ... </p>

Labels:
None
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.