<?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: Dynamic Models in CakePHP 1.2</title>
	<atom:link href="http://www.littlehart.net/atthekeyboard/2008/08/05/dynamic-models-in-cakephp-12/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.littlehart.net/atthekeyboard/2008/08/05/dynamic-models-in-cakephp-12/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=rss</link>
	<description>Facebook should&#039;ve be written in unicornSchemaLang, because everyone *knows* that PHP is no good for anything, right?</description>
	<lastBuildDate>Thu, 18 Mar 2010 12:07:53 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<atom:link rel="hub" href="http://pubsubhubbub.appspot.com" />
		<item>
		<title>By: Jonathan Snook</title>
		<link>http://www.littlehart.net/atthekeyboard/2008/08/05/dynamic-models-in-cakephp-12/comment-page-1/#comment-10663</link>
		<dc:creator>Jonathan Snook</dc:creator>
		<pubDate>Thu, 07 Aug 2008 14:43:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.littlehart.net/atthekeyboard/?p=291#comment-10663</guid>
		<description>Btw: upon further research, CakePHP&#039;s validation is within its own class. I&#039;m still on the fence as to whether applying a validation object to a dynamic model makes sense. If you&#039;re building business logic, it makes sense to define a proper model and contain it there.</description>
		<content:encoded><![CDATA[<p>Btw: upon further research, CakePHP&#8217;s validation is within its own class. I&#8217;m still on the fence as to whether applying a validation object to a dynamic model makes sense. If you&#8217;re building business logic, it makes sense to define a proper model and contain it there.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris Hartjes</title>
		<link>http://www.littlehart.net/atthekeyboard/2008/08/05/dynamic-models-in-cakephp-12/comment-page-1/#comment-10660</link>
		<dc:creator>Chris Hartjes</dc:creator>
		<pubDate>Wed, 06 Aug 2008 15:47:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.littlehart.net/atthekeyboard/?p=291#comment-10660</guid>
		<description>@anonymous

There&#039;s nothing wrong with &quot;implicit logic&quot; as long as you KNOW that it is being used.  I&#039;ve used both Rails and Django, and while I prefer Python and Django over Ruby and Rails, that isn&#039;t the point.  Both Rails and Django use implicit logic as part of the framework.  Otherwise, what would be the point?</description>
		<content:encoded><![CDATA[<p>@anonymous</p>
<p>There&#8217;s nothing wrong with &#8220;implicit logic&#8221; as long as you KNOW that it is being used.  I&#8217;ve used both Rails and Django, and while I prefer Python and Django over Ruby and Rails, that isn&#8217;t the point.  Both Rails and Django use implicit logic as part of the framework.  Otherwise, what would be the point?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan Snook</title>
		<link>http://www.littlehart.net/atthekeyboard/2008/08/05/dynamic-models-in-cakephp-12/comment-page-1/#comment-10658</link>
		<dc:creator>Jonathan Snook</dc:creator>
		<pubDate>Wed, 06 Aug 2008 14:42:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.littlehart.net/atthekeyboard/?p=291#comment-10658</guid>
		<description>I for one welcome our new dynamic model overlords. I think it&#039;s a good move and can save some time early on when your just trying to get some of the initial view work together. Although this strengthens my opinion that validation should be moved to its own class. Then you could validate models by defining a validation subclass and applying it to a dynamic model.</description>
		<content:encoded><![CDATA[<p>I for one welcome our new dynamic model overlords. I think it&#8217;s a good move and can save some time early on when your just trying to get some of the initial view work together. Although this strengthens my opinion that validation should be moved to its own class. Then you could validate models by defining a validation subclass and applying it to a dynamic model.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rafaelbandeira3</title>
		<link>http://www.littlehart.net/atthekeyboard/2008/08/05/dynamic-models-in-cakephp-12/comment-page-1/#comment-10657</link>
		<dc:creator>rafaelbandeira3</dc:creator>
		<pubDate>Wed, 06 Aug 2008 11:19:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.littlehart.net/atthekeyboard/?p=291#comment-10657</guid>
		<description>Although that&#039;s a undocumented one, it&#039;s not that new...
But you warned it well, it may be a real headache when you&#039;re mispelling model names.
cheers</description>
		<content:encoded><![CDATA[<p>Although that&#8217;s a undocumented one, it&#8217;s not that new&#8230;<br />
But you warned it well, it may be a real headache when you&#8217;re mispelling model names.<br />
cheers</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: derek martin</title>
		<link>http://www.littlehart.net/atthekeyboard/2008/08/05/dynamic-models-in-cakephp-12/comment-page-1/#comment-10655</link>
		<dc:creator>derek martin</dc:creator>
		<pubDate>Wed, 06 Aug 2008 10:15:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.littlehart.net/atthekeyboard/?p=291#comment-10655</guid>
		<description>Handy, yes, but performance impact? 
Does it do a structure query every time you use that model?
I wonder the same thing about Zend DB.
By contrast, Propel and others keep static &quot;map&quot; filez, outlining the structure.
Perhaps cake dynamically creates &amp; caches map files?</description>
		<content:encoded><![CDATA[<p>Handy, yes, but performance impact?<br />
Does it do a structure query every time you use that model?<br />
I wonder the same thing about Zend DB.<br />
By contrast, Propel and others keep static &#8220;map&#8221; filez, outlining the structure.<br />
Perhaps cake dynamically creates &amp; caches map files?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: anupom</title>
		<link>http://www.littlehart.net/atthekeyboard/2008/08/05/dynamic-models-in-cakephp-12/comment-page-1/#comment-10654</link>
		<dc:creator>anupom</dc:creator>
		<pubDate>Wed, 06 Aug 2008 08:53:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.littlehart.net/atthekeyboard/?p=291#comment-10654</guid>
		<description>I felt the same when I first discovered this feature. Though at first I thought it&#039;s a bug :) I dint write the model class and for some weird reason Cake was not throwing any error on my face! But soon after digging some more into the Cake core, I realized now we can have dynamic models :) - models that are not physically there!  In some cases it may simply stuffs, but I felt like, it may encourage fat controller - thin model ? People may start writing codes in controllers that are best housed in models. Just my thoughts anyway.</description>
		<content:encoded><![CDATA[<p>I felt the same when I first discovered this feature. Though at first I thought it&#8217;s a bug <img src='http://www.littlehart.net/atthekeyboard/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  I dint write the model class and for some weird reason Cake was not throwing any error on my face! But soon after digging some more into the Cake core, I realized now we can have dynamic models <img src='http://www.littlehart.net/atthekeyboard/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  &#8211; models that are not physically there!  In some cases it may simply stuffs, but I felt like, it may encourage fat controller &#8211; thin model ? People may start writing codes in controllers that are best housed in models. Just my thoughts anyway.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel Hofstetter</title>
		<link>http://www.littlehart.net/atthekeyboard/2008/08/05/dynamic-models-in-cakephp-12/comment-page-1/#comment-10653</link>
		<dc:creator>Daniel Hofstetter</dc:creator>
		<pubDate>Wed, 06 Aug 2008 07:10:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.littlehart.net/atthekeyboard/?p=291#comment-10653</guid>
		<description>What&#039;s the benefit of this feature? Ok, I don&#039;t have to create a file, and else? On the other hand I no longer have a representation of my design at the model level if I use this feature...</description>
		<content:encoded><![CDATA[<p>What&#8217;s the benefit of this feature? Ok, I don&#8217;t have to create a file, and else? On the other hand I no longer have a representation of my design at the model level if I use this feature&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Abhimanyu</title>
		<link>http://www.littlehart.net/atthekeyboard/2008/08/05/dynamic-models-in-cakephp-12/comment-page-1/#comment-10652</link>
		<dc:creator>Abhimanyu</dc:creator>
		<pubDate>Wed, 06 Aug 2008 07:01:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.littlehart.net/atthekeyboard/?p=291#comment-10652</guid>
		<description>That&#039;s surely is a piece of Cake. Infact I&#039;ve come across this before while I was playing with plugins.
I pr()&#039;ed a plugin model, and found its name as &#039;AppModel&#039; - I had no idea at that time :)</description>
		<content:encoded><![CDATA[<p>That&#8217;s surely is a piece of Cake. Infact I&#8217;ve come across this before while I was playing with plugins.<br />
I pr()&#8217;ed a plugin model, and found its name as &#8216;AppModel&#8217; &#8211; I had no idea at that time <img src='http://www.littlehart.net/atthekeyboard/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Richard@Home</title>
		<link>http://www.littlehart.net/atthekeyboard/2008/08/05/dynamic-models-in-cakephp-12/comment-page-1/#comment-10651</link>
		<dc:creator>Richard@Home</dc:creator>
		<pubDate>Wed, 06 Aug 2008 06:25:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.littlehart.net/atthekeyboard/?p=291#comment-10651</guid>
		<description>I spotted this a couple of days ago and assumed it had always worked like that!</description>
		<content:encoded><![CDATA[<p>I spotted this a couple of days ago and assumed it had always worked like that!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Amit Badkas</title>
		<link>http://www.littlehart.net/atthekeyboard/2008/08/05/dynamic-models-in-cakephp-12/comment-page-1/#comment-10650</link>
		<dc:creator>Amit Badkas</dc:creator>
		<pubDate>Wed, 06 Aug 2008 05:43:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.littlehart.net/atthekeyboard/?p=291#comment-10650</guid>
		<description>This has existed for some time now... I discovered it accidentally as well, while  investigating the error saying table not found rather than model not found!</description>
		<content:encoded><![CDATA[<p>This has existed for some time now&#8230; I discovered it accidentally as well, while  investigating the error saying table not found rather than model not found!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->