<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Object/Relational Data Persistence in PHP</title>
	<atom:link href="http://blog.hansmelis.be/2006/11/02/objectrelational-data-persistence-in-php/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.hansmelis.be/2006/11/02/objectrelational-data-persistence-in-php/</link>
	<description>Once is an accident, twice is a coincidence, three times is an enemy action.</description>
	<lastBuildDate>Sat, 19 Nov 2011 00:04:40 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
	<item>
		<title>By: splatch</title>
		<link>http://blog.hansmelis.be/2006/11/02/objectrelational-data-persistence-in-php/comment-page-1/#comment-16156</link>
		<dc:creator>splatch</dc:creator>
		<pubDate>Sun, 13 Jan 2008 01:04:28 +0000</pubDate>
		<guid isPermaLink="false">http://blog.hansmelis.be/2006/11/02/objectrelational-data-persistence-in-php/#comment-16156</guid>
		<description>The ez Persistent Objects looks like Java&#039;s Hibernate. Not at all, but ever names is similar (session, property, saveOrUpdate etc).
I used in my projects Propel. This is not the best implementation but logic. There isn&#039;t problems with Active Record stuff (i hate this pattern).
The biggest problem with propel is relations. This library doesn&#039;t support many-to-many relationship. From version 1.3 Propel switched from Creole to PDO and have good ideas (first level cache - identity map).

From one year i don&#039;t write anything in PHP but i thought about my ORM implementation...

Regards,
Luke</description>
		<content:encoded><![CDATA[<p>The ez Persistent Objects looks like Java&#8217;s Hibernate. Not at all, but ever names is similar (session, property, saveOrUpdate etc).<br />
I used in my projects Propel. This is not the best implementation but logic. There isn&#8217;t problems with Active Record stuff (i hate this pattern).<br />
The biggest problem with propel is relations. This library doesn&#8217;t support many-to-many relationship. From version 1.3 Propel switched from Creole to PDO and have good ideas (first level cache &#8211; identity map).</p>
<p>From one year i don&#8217;t write anything in PHP but i thought about my ORM implementation&#8230;</p>
<p>Regards,<br />
Luke</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jason Coward</title>
		<link>http://blog.hansmelis.be/2006/11/02/objectrelational-data-persistence-in-php/comment-page-1/#comment-195</link>
		<dc:creator>Jason Coward</dc:creator>
		<pubDate>Mon, 27 Nov 2006 20:24:03 +0000</pubDate>
		<guid isPermaLink="false">http://blog.hansmelis.be/2006/11/02/objectrelational-data-persistence-in-php/#comment-195</guid>
		<description>Hello Hans, just doing some research on the latest framework developments for PHP that include O/R mapping tools, and came across your post.

Have you checked out phpdoctrine (http://www.phpdoctrine.com/)?  I haven&#039;t tried it myself, but it seems to be along the lines of what you are looking for, though it does require PDO (PHP 5.1+ or PHP 5.0.x with PECL extensions) and I&#039;m not too sure on the status of the project.

I myself was not satisfied with any of the solutions and started one of my own earlier this year, which I am calling xPDO (http://xpdo.org/) and releasing under GPL.  It&#039;s still in pre-release condition and lacking a lot of documentation.  FYI: I have tried Propel/Creole, which Symfony uses, but it was way too heavy for my purposes, depended on Phing build scripts, and required PHP 5.

xPDO also uses PDO, but also includes PDO emulation with a subset implementation so you can use it on PHP 4.  It&#039;s a little more specialized and slightly quirky (i.e. object fields are stored in an array rather than as actual PHP object vars) than many of the existing O/R mapping tools, but my main goals were to keep it extremely light, use only generic methods and accessors, make it work with PHP 4, avoid any attempt to provide SQL query abstraction, and instead focus on making it easy to port and optimize SQL to specific target platforms.  And this is what I came up with.

Cheers and good luck with your search for the Grail...I think O/R mapping is probably one of the larger controversies in framework design these days, and you&#039;ll do well to pick from existing or craft a custom solution that meets your projects&#039; requirements best.

Jason</description>
		<content:encoded><![CDATA[<p>Hello Hans, just doing some research on the latest framework developments for PHP that include O/R mapping tools, and came across your post.</p>
<p>Have you checked out phpdoctrine (<a href="http://www.phpdoctrine.com/" rel="nofollow">http://www.phpdoctrine.com/</a>)?  I haven&#8217;t tried it myself, but it seems to be along the lines of what you are looking for, though it does require PDO (PHP 5.1+ or PHP 5.0.x with PECL extensions) and I&#8217;m not too sure on the status of the project.</p>
<p>I myself was not satisfied with any of the solutions and started one of my own earlier this year, which I am calling xPDO (<a href="http://xpdo.org/" rel="nofollow">http://xpdo.org/</a>) and releasing under GPL.  It&#8217;s still in pre-release condition and lacking a lot of documentation.  FYI: I have tried Propel/Creole, which Symfony uses, but it was way too heavy for my purposes, depended on Phing build scripts, and required PHP 5.</p>
<p>xPDO also uses PDO, but also includes PDO emulation with a subset implementation so you can use it on PHP 4.  It&#8217;s a little more specialized and slightly quirky (i.e. object fields are stored in an array rather than as actual PHP object vars) than many of the existing O/R mapping tools, but my main goals were to keep it extremely light, use only generic methods and accessors, make it work with PHP 4, avoid any attempt to provide SQL query abstraction, and instead focus on making it easy to port and optimize SQL to specific target platforms.  And this is what I came up with.</p>
<p>Cheers and good luck with your search for the Grail&#8230;I think O/R mapping is probably one of the larger controversies in framework design these days, and you&#8217;ll do well to pick from existing or craft a custom solution that meets your projects&#8217; requirements best.</p>
<p>Jason</p>
]]></content:encoded>
	</item>
</channel>
</rss>

