<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Sun, 26 May 2013 01:29:57 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Tobias Schlitt's Blog: Identity Map pattern]]></title>
      <guid>http://www.phpdeveloper.org/news/12386</guid>
      <link>http://www.phpdeveloper.org/news/12386</link>
      <description><![CDATA[<p>
<i>Tobias Schlitt</i> has <a href="http://schlitt.info/opensource/blog/0706_identity_map_pattern.html">written up a new post</a> looking at the identity pattern (an Enterprise application design pattern) and an implementation of <a href="http://en.wikipedia.org/wiki/Identity_map">Identity Map</a> in the eZ Components framework.
</p>
<blockquote>
The pattern affects the data access layer of an application and helps to avoid inconsistencies in data objects of your application. [...] In this article I want to give you a rough overview on the pattern itself and show you how you can test and use the functionality of PersistentObject.
</blockquote>
<p>
The <a href="http://en.wikipedia.org/wiki/Identity_map">identity map</a> pattern allows you to store/fetch objects across execution instances to reduce the overhead of recreating those objects every time. <i>Tobias</i> shows off the <a href="http://ezcomponents.org/s/PersistentObject">PersistentObject</a> component as an example of it in action. It can create an identity map and store values (like session information in their example) and even includes methods to grab related objects as defined by calls to addRelatedObject.
</p>]]></description>
      <pubDate>Wed, 22 Apr 2009 10:21:57 -0500</pubDate>
    </item>
  </channel>
</rss>
