<?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: HowTo: CakePHP 1.2 Model ORM Inheritance Hack</title>
	<atom:link href="http://kelnishi.com/blog/20071106/howtos/cakephp-12-model-orm-inheritance-hack/feed/" rel="self" type="application/rss+xml" />
	<link>http://kelnishi.com/blog/20071106/howtos/cakephp-12-model-orm-inheritance-hack/</link>
	<description>The details are all wrong.</description>
	<lastBuildDate>Thu, 02 Feb 2012 18:51:37 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: speedmax</title>
		<link>http://kelnishi.com/blog/20071106/howtos/cakephp-12-model-orm-inheritance-hack/comment-page-1/#comment-37</link>
		<dc:creator>speedmax</dc:creator>
		<pubDate>Thu, 06 Dec 2007 03:21:32 +0000</pubDate>
		<guid isPermaLink="false">http://kelnishi.com/blog/20071106/howtos/cakephp-12-model-orm-inheritance-hack/#comment-37</guid>
		<description>hi kevin, 


can you please post the source code of the sample app?</description>
		<content:encoded><![CDATA[<p>hi kevin, </p>
<p>can you please post the source code of the sample app?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kelvin</title>
		<link>http://kelnishi.com/blog/20071106/howtos/cakephp-12-model-orm-inheritance-hack/comment-page-1/#comment-36</link>
		<dc:creator>kelvin</dc:creator>
		<pubDate>Wed, 05 Dec 2007 05:22:23 +0000</pubDate>
		<guid isPermaLink="false">http://kelnishi.com/blog/20071106/howtos/cakephp-12-model-orm-inheritance-hack/#comment-36</guid>
		<description>I tried to keep my implementation as simple as possible. As a result it&#039;s still kind of kludgy; the attributes aren&#039;t perfectly inherited and some operations don&#039;t work cleanly. But from what I&#039;ve used it for, generalizing associations, my hack works pretty well. 

Performance-wise, it&#039;s only 1 more SQL JOIN on the subclass tables, so it&#039;s relatively fast imo. With just scaffolding and some naive controllers, CRUD works pretty cleanly so far. I did run into some issues with changing the recursive attributes, but other than that I&#039;ve had no problems.</description>
		<content:encoded><![CDATA[<p>I tried to keep my implementation as simple as possible. As a result it&#8217;s still kind of kludgy; the attributes aren&#8217;t perfectly inherited and some operations don&#8217;t work cleanly. But from what I&#8217;ve used it for, generalizing associations, my hack works pretty well. </p>
<p>Performance-wise, it&#8217;s only 1 more SQL JOIN on the subclass tables, so it&#8217;s relatively fast imo. With just scaffolding and some naive controllers, CRUD works pretty cleanly so far. I did run into some issues with changing the recursive attributes, but other than that I&#8217;ve had no problems.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: speedmax</title>
		<link>http://kelnishi.com/blog/20071106/howtos/cakephp-12-model-orm-inheritance-hack/comment-page-1/#comment-35</link>
		<dc:creator>speedmax</dc:creator>
		<pubDate>Wed, 05 Dec 2007 04:52:09 +0000</pubDate>
		<guid isPermaLink="false">http://kelnishi.com/blog/20071106/howtos/cakephp-12-model-orm-inheritance-hack/#comment-35</guid>
		<description>I think generally Model inheritance is a cool concept. but in the context of relational database it will be quite a effort and overhead. 

we are talking about the whole CRUD operation here, usually ActiveRecord/ORM implemented on the lowest feature set available across multiple database, some supperts/some doesn&#039;t support native table inherithance. it will be painful.

If we implement to some extend (eg: limit to max 1 or 2 level of inheritance), i definitely see the practical reason.</description>
		<content:encoded><![CDATA[<p>I think generally Model inheritance is a cool concept. but in the context of relational database it will be quite a effort and overhead. </p>
<p>we are talking about the whole CRUD operation here, usually ActiveRecord/ORM implemented on the lowest feature set available across multiple database, some supperts/some doesn&#8217;t support native table inherithance. it will be painful.</p>
<p>If we implement to some extend (eg: limit to max 1 or 2 level of inheritance), i definitely see the practical reason.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: speedmax</title>
		<link>http://kelnishi.com/blog/20071106/howtos/cakephp-12-model-orm-inheritance-hack/comment-page-1/#comment-34</link>
		<dc:creator>speedmax</dc:creator>
		<pubDate>Wed, 05 Dec 2007 00:08:39 +0000</pubDate>
		<guid isPermaLink="false">http://kelnishi.com/blog/20071106/howtos/cakephp-12-model-orm-inheritance-hack/#comment-34</guid>
		<description>Hello there, good work man. 


Interestingly, i have implemented a similar solution right inside Specific models , however fairly primitive, but similarly it does merge data on on Find. save dynamically to separate table on Save.

I would very much like to investigate this with you. perhaps we can implement this try not to touching too much of core lib files. 

I recently read about django&#039;s quest on model inheritance, they have done good investigation.
http://code.djangoproject.com/wiki/ModelInheritance


I am building sometime it may interest you. a behavior (ObjectizeBehavior allows model to return object instance) , i am writing a article on bakery.. at the mean time here is the code
http://bin.cakephp.org/saved/25886


PS: look for speedmax on irc,</description>
		<content:encoded><![CDATA[<p>Hello there, good work man. </p>
<p>Interestingly, i have implemented a similar solution right inside Specific models , however fairly primitive, but similarly it does merge data on on Find. save dynamically to separate table on Save.</p>
<p>I would very much like to investigate this with you. perhaps we can implement this try not to touching too much of core lib files. </p>
<p>I recently read about django&#8217;s quest on model inheritance, they have done good investigation.<br />
<a href="http://code.djangoproject.com/wiki/ModelInheritance" rel="nofollow">http://code.djangoproject.com/wiki/ModelInheritance</a></p>
<p>I am building sometime it may interest you. a behavior (ObjectizeBehavior allows model to return object instance) , i am writing a article on bakery.. at the mean time here is the code<br />
<a href="http://bin.cakephp.org/saved/25886" rel="nofollow">http://bin.cakephp.org/saved/25886</a></p>
<p>PS: look for speedmax on irc,</p>
]]></content:encoded>
	</item>
</channel>
</rss>

