<?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: Fat Models, Skinny Controllers</title>
	<atom:link href="http://www.littlehart.net/atthekeyboard/2007/04/27/fat-models-skinny-controllers/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.littlehart.net/atthekeyboard/2007/04/27/fat-models-skinny-controllers/?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>Fri, 05 Mar 2010 17:54:12 +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: MVC, CakePHP et Rock&#8217;n&#8217;Roll !</title>
		<link>http://www.littlehart.net/atthekeyboard/2007/04/27/fat-models-skinny-controllers/comment-page-1/#comment-13675</link>
		<dc:creator>MVC, CakePHP et Rock&#8217;n&#8217;Roll !</dc:creator>
		<pubDate>Tue, 01 Sep 2009 08:14:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.littlehart.net/atthekeyboard/2007/04/27/fat-models-skinny-controllers/#comment-13675</guid>
		<description>[...] dans le modèle, dans un but à la fois &#8220;DRY&#8221; et afin de suivre le précèpte &#8220;Fat Models, Skinny Controllers&#8220;. Dans le cas présent, nous partirons du principe que le formatage des données n&#8217;a [...]</description>
		<content:encoded><![CDATA[<p>[...] dans le modèle, dans un but à la fois &#8220;DRY&#8221; et afin de suivre le précèpte &#8220;Fat Models, Skinny Controllers&#8220;. Dans le cas présent, nous partirons du principe que le formatage des données n&#8217;a [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sandor</title>
		<link>http://www.littlehart.net/atthekeyboard/2007/04/27/fat-models-skinny-controllers/comment-page-1/#comment-12946</link>
		<dc:creator>Sandor</dc:creator>
		<pubDate>Fri, 14 Aug 2009 09:42:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.littlehart.net/atthekeyboard/2007/04/27/fat-models-skinny-controllers/#comment-12946</guid>
		<description>+1 for @Rogerio 
The only question remains is where to put this classes in case of cakephp? </description>
		<content:encoded><![CDATA[<p>+1 for @Rogerio<br />
The only question remains is where to put this classes in case of cakephp?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rogerio Senna</title>
		<link>http://www.littlehart.net/atthekeyboard/2007/04/27/fat-models-skinny-controllers/comment-page-1/#comment-12374</link>
		<dc:creator>Rogerio Senna</dc:creator>
		<pubDate>Sun, 28 Jun 2009 23:11:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.littlehart.net/atthekeyboard/2007/04/27/fat-models-skinny-controllers/#comment-12374</guid>
		<description>Just my two cents:

First of all, &quot;fat models&quot; are the way to go, IMHO.

But &quot;Model&quot; is a tier, from the MVC architecture perspective. It is not a single class, not even a single pattern.

Why I say that? When a cakephp programmer speaks about a &quot;model&quot;, he is normally talking about a specific implementation of the the &quot;Active Record&quot; design pattern (made by the cakephp team through the AppModel class), used for data persistence and ORM.

But a model is much more than that. It is also the right place for business logic, validation etc.

The cakephp team have incorporated much of these features inside the AppModel class, witch is really cool, but is not always enough. Sometimes, in complex systems, it would be better to have other classes (like façades, bridges, whatever) to manipulate and consolidate data.

You can call this classes BLLs, or managers, or whatever you like. But they STILL belong to the &quot;model&quot; tier, even if they are not subclasses of the AppModel class. And so, even doing that, you are still using a MVC architecture (in fact, probably a much more improved one).

Sorry for the whining (and for the bad english), just trying to make things a little bit more clear.</description>
		<content:encoded><![CDATA[<p>Just my two cents:</p>
<p>First of all, &#8220;fat models&#8221; are the way to go, IMHO.</p>
<p>But &#8220;Model&#8221; is a tier, from the MVC architecture perspective. It is not a single class, not even a single pattern.</p>
<p>Why I say that? When a cakephp programmer speaks about a &#8220;model&#8221;, he is normally talking about a specific implementation of the the &#8220;Active Record&#8221; design pattern (made by the cakephp team through the AppModel class), used for data persistence and ORM.</p>
<p>But a model is much more than that. It is also the right place for business logic, validation etc.</p>
<p>The cakephp team have incorporated much of these features inside the AppModel class, witch is really cool, but is not always enough. Sometimes, in complex systems, it would be better to have other classes (like façades, bridges, whatever) to manipulate and consolidate data.</p>
<p>You can call this classes BLLs, or managers, or whatever you like. But they STILL belong to the &#8220;model&#8221; tier, even if they are not subclasses of the AppModel class. And so, even doing that, you are still using a MVC architecture (in fact, probably a much more improved one).</p>
<p>Sorry for the whining (and for the bad english), just trying to make things a little bit more clear.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: laneolson.ca &#124; Beginning CakePHP: The MVC Mindset</title>
		<link>http://www.littlehart.net/atthekeyboard/2007/04/27/fat-models-skinny-controllers/comment-page-1/#comment-12133</link>
		<dc:creator>laneolson.ca &#124; Beginning CakePHP: The MVC Mindset</dc:creator>
		<pubDate>Sat, 23 May 2009 02:44:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.littlehart.net/atthekeyboard/2007/04/27/fat-models-skinny-controllers/#comment-12133</guid>
		<description>[...] to a minimum and instead put the bulk of the code for manipulating the data into the model (see Fat Models, Skinny Controllers by Chris [...]</description>
		<content:encoded><![CDATA[<p>[...] to a minimum and instead put the bulk of the code for manipulating the data into the model (see Fat Models, Skinny Controllers by Chris [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fat Model and Skinny Controller &#124; Prajwal Tuladhar's Blog</title>
		<link>http://www.littlehart.net/atthekeyboard/2007/04/27/fat-models-skinny-controllers/comment-page-1/#comment-11160</link>
		<dc:creator>Fat Model and Skinny Controller &#124; Prajwal Tuladhar's Blog</dc:creator>
		<pubDate>Wed, 31 Dec 2008 02:59:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.littlehart.net/atthekeyboard/2007/04/27/fat-models-skinny-controllers/#comment-11160</guid>
		<description>[...] days ago, I read a post (the post is a bit old) about the the design concept of fat model, skinny controller. After going [...]</description>
		<content:encoded><![CDATA[<p>[...] days ago, I read a post (the post is a bit old) about the the design concept of fat model, skinny controller. After going [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Beginning CakePHP: The MVC Mindset &#171; Lane Olson&#8217;s Blog</title>
		<link>http://www.littlehart.net/atthekeyboard/2007/04/27/fat-models-skinny-controllers/comment-page-1/#comment-11076</link>
		<dc:creator>Beginning CakePHP: The MVC Mindset &#171; Lane Olson&#8217;s Blog</dc:creator>
		<pubDate>Mon, 08 Dec 2008 20:36:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.littlehart.net/atthekeyboard/2007/04/27/fat-models-skinny-controllers/#comment-11076</guid>
		<description>[...] to a minimum and instead put the bulk of the code for manipulating the data into the model (see Fat Models, Skinny Controllers by Chris [...]</description>
		<content:encoded><![CDATA[<p>[...] to a minimum and instead put the bulk of the code for manipulating the data into the model (see Fat Models, Skinny Controllers by Chris [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kiran Aghor</title>
		<link>http://www.littlehart.net/atthekeyboard/2007/04/27/fat-models-skinny-controllers/comment-page-1/#comment-10722</link>
		<dc:creator>Kiran Aghor</dc:creator>
		<pubDate>Thu, 04 Sep 2008 14:29:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.littlehart.net/atthekeyboard/2007/04/27/fat-models-skinny-controllers/#comment-10722</guid>
		<description>I read somewhere about fat-model and skinny controllers. But was wondering how to code that way. This post shows it clearly. Thanks a lot.</description>
		<content:encoded><![CDATA[<p>I read somewhere about fat-model and skinny controllers. But was wondering how to code that way. This post shows it clearly. Thanks a lot.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: deltawing</title>
		<link>http://www.littlehart.net/atthekeyboard/2007/04/27/fat-models-skinny-controllers/comment-page-1/#comment-10559</link>
		<dc:creator>deltawing</dc:creator>
		<pubDate>Fri, 27 Jun 2008 22:32:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.littlehart.net/atthekeyboard/2007/04/27/fat-models-skinny-controllers/#comment-10559</guid>
		<description>I think the better way to say it would be , &quot;models should be fat in relation to controllers&quot;. That is, keep everything down to the minimum possible.</description>
		<content:encoded><![CDATA[<p>I think the better way to say it would be , &#8220;models should be fat in relation to controllers&#8221;. That is, keep everything down to the minimum possible.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris Hartjes</title>
		<link>http://www.littlehart.net/atthekeyboard/2007/04/27/fat-models-skinny-controllers/comment-page-1/#comment-8789</link>
		<dc:creator>Chris Hartjes</dc:creator>
		<pubDate>Tue, 18 Mar 2008 13:22:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.littlehart.net/atthekeyboard/2007/04/27/fat-models-skinny-controllers/#comment-8789</guid>
		<description>@James

Well, it&#039;s not really a CakePHP-specific thing.  It&#039;s more a application architecture issue with any framework that tries to follow the Model-View-Controller pattern.</description>
		<content:encoded><![CDATA[<p>@James</p>
<p>Well, it&#8217;s not really a CakePHP-specific thing.  It&#8217;s more a application architecture issue with any framework that tries to follow the Model-View-Controller pattern.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: james</title>
		<link>http://www.littlehart.net/atthekeyboard/2007/04/27/fat-models-skinny-controllers/comment-page-1/#comment-8786</link>
		<dc:creator>james</dc:creator>
		<pubDate>Tue, 18 Mar 2008 02:50:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.littlehart.net/atthekeyboard/2007/04/27/fat-models-skinny-controllers/#comment-8786</guid>
		<description>Thanks for the article ... I only wish I knew about this earlier. The CakePHP manual doesn&#039;t mention this (I don&#039;t think).</description>
		<content:encoded><![CDATA[<p>Thanks for the article &#8230; I only wish I knew about this earlier. The CakePHP manual doesn&#8217;t mention this (I don&#8217;t think).</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! -->