News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Seastian Bergmann's Blog:
Object-Relational Behavioral Patterns
February 16, 2009 @ 12:08:47

Seastian Bergmann has added some new features to the Object_Freezer library (you can read more about it here) - some new object-relational behavioral patterns.

The three patterns are from Martin Fowler's Patterns of Enterprise Application Architecture book:

  • Unit of Work - maintains a list of objects affected by a business transaction and coordinates the writing out of changes and the resolution of concurrency problems.
  • Identity Map - each object gets loaded only once by keeping every loaded object in a map
  • Lazy Load - object that doesn't contain all of the data you need but knows how to get it.
0 comments voice your opinion now!
object freezer object relational patterns martinfowler pattern


blog comments powered by Disqus

Similar Posts

DevShed: Building an Error Logger with the Chain of Responsibility Pattern in PHP 5

Stubbles Blog: Lazy loading of classes stored in a session without __autoload()

DevShed: Running Conditional Select Statements with the Active Record Pattern

Hasin Hayder's Blog: Did you know 'you can have cheese burger' could be a variable name?

Dikini.net: Rewriting macros - the peculiar case of php


Community Events





Don't see your event here?
Let us know!


podcast release bugfix code list community language series tips conference threedevsandamaybe laravel deployment symfony framework zendserver introduction api interview voicesoftheelephpant

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework