<?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: Rails : Consider the view as stupid</title>
	<atom:link href="http://www.rubyfleebie.com/rails-consider-the-view-as-stupid/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.rubyfleebie.com/rails-consider-the-view-as-stupid/</link>
	<description>Because programming should be fun</description>
	<lastBuildDate>Wed, 04 Jan 2012 05:17:14 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Frank</title>
		<link>http://www.rubyfleebie.com/rails-consider-the-view-as-stupid/comment-page-1/#comment-188</link>
		<dc:creator>Frank</dc:creator>
		<pubDate>Sat, 28 Apr 2007 20:51:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.rubyfleebie.com/rails-consider-the-view-as-stupid/#comment-188</guid>
		<description>@Adrian, 

It&#039;s just a &quot;separation of concerns&quot; thing.

Views duty is to manage the presentational side of things
Models duty is to manage the backend storage
Controllers duty is to manage the application flow

@Dan , @Alan

I should have talked about helpers, you&#039;re right! I will update my post.</description>
		<content:encoded><![CDATA[<p>@Adrian, </p>
<p>It&#8217;s just a &#8220;separation of concerns&#8221; thing.</p>
<p>Views duty is to manage the presentational side of things<br />
Models duty is to manage the backend storage<br />
Controllers duty is to manage the application flow</p>
<p>@Dan , @Alan</p>
<p>I should have talked about helpers, you&#8217;re right! I will update my post.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alan Brown</title>
		<link>http://www.rubyfleebie.com/rails-consider-the-view-as-stupid/comment-page-1/#comment-187</link>
		<dc:creator>Alan Brown</dc:creator>
		<pubDate>Sat, 28 Apr 2007 20:42:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.rubyfleebie.com/rails-consider-the-view-as-stupid/#comment-187</guid>
		<description>I imagine keeping logic out of the views and using helpers whenever it makes sense in the view will keep the view easier to maintain.</description>
		<content:encoded><![CDATA[<p>I imagine keeping logic out of the views and using helpers whenever it makes sense in the view will keep the view easier to maintain.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adrian DeWitts</title>
		<link>http://www.rubyfleebie.com/rails-consider-the-view-as-stupid/comment-page-1/#comment-186</link>
		<dc:creator>Adrian DeWitts</dc:creator>
		<pubDate>Sat, 28 Apr 2007 05:43:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.rubyfleebie.com/rails-consider-the-view-as-stupid/#comment-186</guid>
		<description>I agree with you. But the question is why?</description>
		<content:encoded><![CDATA[<p>I agree with you. But the question is why?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dan Kubb</title>
		<link>http://www.rubyfleebie.com/rails-consider-the-view-as-stupid/comment-page-1/#comment-184</link>
		<dc:creator>Dan Kubb</dc:creator>
		<pubDate>Fri, 27 Apr 2007 20:17:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.rubyfleebie.com/rails-consider-the-view-as-stupid/#comment-184</guid>
		<description>I would take this a step further and say &quot;No instance variables in the view&quot;.

I try to keep all view type logic within my helpers, and just include the appropriate helper method when needed.  The view should not have any real knowledge about how the controller&#039;s internal state, which is (unfortunately) copied into the view&#039;s namespace.

You&#039;ve probably heard of &quot;Fat Model, Skinny Controller&quot;, I try to do &quot;Fat Model and Helpers, Skinny Controllers and Views&quot;.</description>
		<content:encoded><![CDATA[<p>I would take this a step further and say &#8220;No instance variables in the view&#8221;.</p>
<p>I try to keep all view type logic within my helpers, and just include the appropriate helper method when needed.  The view should not have any real knowledge about how the controller&#8217;s internal state, which is (unfortunately) copied into the view&#8217;s namespace.</p>
<p>You&#8217;ve probably heard of &#8220;Fat Model, Skinny Controller&#8221;, I try to do &#8220;Fat Model and Helpers, Skinny Controllers and Views&#8221;.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

