<?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>Wed, 22 May 2013 10:37:37 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Arnold Daniels' Blog: An alternative way of EAV modeling]]></title>
      <guid>http://www.phpdeveloper.org/news/10729</guid>
      <link>http://www.phpdeveloper.org/news/10729</link>
      <description><![CDATA[<p>
<i>Arnold Daniels</i> has <a href="http://blog.adaniels.nl/articles/an-alternative-way-of-eav-modeling/">posted some thoughts</a> on a topics recently featured in a cover story by <a href="http://www.phparch.com">php|architect</a> - EAV modeling.
</p>
<blockquote>
I had seen this db structure in other project, but didn't know that it was called EAV. For those who don't read php|architect, EAV describes a method of saving a large set of attributes, only some of which apply to an individual entity. Normally you would create a table, with a row for each entity and save each attribute in a column. With EAV you save each attribute as a row.
</blockquote>
<p>
He suggests two ways to do the modeling - the more "common" way and an alternative way that splits up the data types to make querying simpler (into scalars and arrays). A sample database structure and example query for it are included.
</p>]]></description>
      <pubDate>Thu, 31 Jul 2008 12:54:23 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Matthew Turland's Blog: EAV Modeling - Square Peg in a Round Hole? ]]></title>
      <guid>http://www.phpdeveloper.org/news/10687</guid>
      <link>http://www.phpdeveloper.org/news/10687</link>
      <description><![CDATA[<p>
<i>Matthew Turland</i> has <a href="http://ishouldbecoding.com/2008/07/19/eav-modeling---square-peg-in-a-round-hole">posted about</a> a topic that was the subject of a <a href="http://www.phparch.com/c/magazine/issue/76">recent cover story</a> in php|architect magazine - <a href="http://en.wikipedia.org/wiki/Entity-Attribute-Value_model">EAV modeling</a>.
</p>
<blockquote>
The mental image that came to me when reading about this approach to data modeling was taking the traditional relational table and turning it on its head. [...] EAV actually has to circumvent, work around, or reimplement features that most mainstream database servers today provide "for free" to the traditional relational counterparts of EAV in order to get equal functionality.
</blockquote>
<p>
He <a href="http://ishouldbecoding.com/2008/07/19/eav-modeling---square-peg-in-a-round-hole">talks about</a> features the structure has (including row-level referential integrity and schema metadata) and points out some of the other document-focused database systems like <a href="http://lucene.apache.org/java/docs/index.html">Lucene</a> and <a href="http://incubator.apache.org/couchdb/">CouchDB</a>.
</p>
<p>
Check out the story in the <a href="http://www.phparch.com/c/magazine/issue/76">June 2008 issue</a> of php|architect for that cover story from <i>Carl Welch</i>.
</p>]]></description>
      <pubDate>Fri, 25 Jul 2008 11:14:15 -0500</pubDate>
    </item>
  </channel>
</rss>
