<?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 04:03:24 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[DZone.com: PHP objects in MongoDB with Doctrine]]></title>
      <guid>http://www.phpdeveloper.org/news/17705</guid>
      <link>http://www.phpdeveloper.org/news/17705</link>
      <description><![CDATA[<p>
On DZone.com today <i>Giorgio Sironi</i> has a new post showing how you can <a href="http://css.dzone.com/articles/php-objects-mongodb-doctrine">use Doctrine with MongoDB</a> to work with Document objects from the database.
</p>
<blockquote>
In the PHP world, probably the Doctrine ODM for MongoDB is the most successful. This followes to the opularity of Mongo, which is a transitional product between SQL and NoSQL, still based on some relational concepts like queries. [...] The case for an ODM over a plain Mongo connection object is easy to make: you will still be able to use objects with proper encapsulation (like private fields and associations) and behavior (many methods) instead of extracting just a JSON package from your database.
</blockquote>
<p>
He briefly mentions that the PECL extension for Mongo needs to be installed prior to trying out any of the examples. His first example shows how to create a DocumentManager (similar to the normal EntityManager for those familiar with Doctrine). He also shows an integration with the ORM and shares some of the findings he's made when it comes to versioning the resources (hint: annotations are your friend).
</p>
]]></description>
      <pubDate>Wed, 21 Mar 2012 10:03:59 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Tilllate Blog: Caching of Dynamic Data Sets]]></title>
      <guid>http://www.phpdeveloper.org/news/9178</guid>
      <link>http://www.phpdeveloper.org/news/9178</link>
      <description><![CDATA[<p>
On the Tilllate Blog, there's a <a href="http://techblog.tilllate.com/2007/11/30/caching-of-dynamic-data-sets/">new post</a> discussing the use of caching in applications, specifically for dynamic data.
</p>
<blockquote>
Consider you have a set of data that is changing dynamically for each page request and you need to cache that data the fastest way possible. You can't cache dynamic and unpredictable data as a whole, can you? Hence, we would put each data entry into cache separately to be able to fetch it separately and dynamically. But this means bombing your cache infrastructure with with requests.
</blockquote>
<p>
They break it up into a few different topics - caching text elements on the page, two-tiered caching (grouping cached items), incremental caching and cache versioning. They don't share an example of their code unfortunately, but they do mention something about a possible contribution to the <a href="http://framework.zend.com/manual/en/zend.cache.html">Zend_Cache</a> component of the Zend Framework.
</p>]]></description>
      <pubDate>Wed, 05 Dec 2007 10:29:00 -0600</pubDate>
    </item>
  </channel>
</rss>
