<?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: Phil Haack posts about ASP.NET MVC</title>
	<atom:link href="http://lostechies.com/seanchambers/2007/12/08/phil-haack-posts-about-asp-net-mvc/feed/" rel="self" type="application/rss+xml" />
	<link>http://lostechies.com/seanchambers/2007/12/08/phil-haack-posts-about-asp-net-mvc/</link>
	<description>Just another LosTechies site</description>
	<lastBuildDate>Thu, 13 Sep 2012 07:11:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4.2</generator>
	<item>
		<title>By: Joe Ocampo</title>
		<link>http://lostechies.com/seanchambers/2007/12/08/phil-haack-posts-about-asp-net-mvc/#comment-184</link>
		<dc:creator>Joe Ocampo</dc:creator>
		<pubDate>Mon, 10 Dec 2007 16:36:27 +0000</pubDate>
		<guid isPermaLink="false">/blogs/sean_chambers/archive/2007/12/08/phil-haack-posts-about-asp-net-mvc.aspx#comment-184</guid>
		<description>@Mike just because we have been doing it doesn&#039;t mean we have to continue.

I hate to use this but we are like a bunch of lemming s sometime and we just fall in with the standard conventions.

MR and RoR have been very successful with the Convention over Configuration approach.  And I think for us to turn a blind eye towards this approach simply because MS want to change it is a diservice to the community.

A majority of the MVC framework takes a convention over configuration approach.  This slight decoration causes a shift in that way of thinking.  It is not about a matter of style as it is a matter of adhering to framework principle no matter how esoteric they may be to new comers.

The fact of the matter is all we are asking for is a choice and I believe Phil and the rest of the MVC team has given us this with the &quot;ConventionController&quot; so now it truly is a matter of style. 

Although I do like Scott&#039;s suggestion about the controller defaulting to this behavior and forcing the &quot;SafeMode&quot; when needed.  Similar to VB&#039;s option explicit.</description>
		<content:encoded><![CDATA[<p>@Mike just because we have been doing it doesn&#8217;t mean we have to continue.</p>
<p>I hate to use this but we are like a bunch of lemming s sometime and we just fall in with the standard conventions.</p>
<p>MR and RoR have been very successful with the Convention over Configuration approach.  And I think for us to turn a blind eye towards this approach simply because MS want to change it is a diservice to the community.</p>
<p>A majority of the MVC framework takes a convention over configuration approach.  This slight decoration causes a shift in that way of thinking.  It is not about a matter of style as it is a matter of adhering to framework principle no matter how esoteric they may be to new comers.</p>
<p>The fact of the matter is all we are asking for is a choice and I believe Phil and the rest of the MVC team has given us this with the &#8220;ConventionController&#8221; so now it truly is a matter of style. </p>
<p>Although I do like Scott&#8217;s suggestion about the controller defaulting to this behavior and forcing the &#8220;SafeMode&#8221; when needed.  Similar to VB&#8217;s option explicit.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sean Chambers</title>
		<link>http://lostechies.com/seanchambers/2007/12/08/phil-haack-posts-about-asp-net-mvc/#comment-183</link>
		<dc:creator>Sean Chambers</dc:creator>
		<pubDate>Mon, 10 Dec 2007 12:25:01 +0000</pubDate>
		<guid isPermaLink="false">/blogs/sean_chambers/archive/2007/12/08/phil-haack-posts-about-asp-net-mvc.aspx#comment-183</guid>
		<description>@Mike

So lets say you type out &quot;[ControllerAction]&quot; for each public action that you have. On a medium size project I recently built I had about 10 actions per controller and about 40 controllers across the whole project.

18 Characters x 10 actions per controller = 180 characters PER controller.

Across all controllers that is 7200 characters.

Show me someone that doesn&#039;t think thats alot of extra typing and I&#039;ll show you a fool.

Tell you what, you add all the ControllerAction attributes to all your public methods which will take you about 8+ hours and I will subclass it like Phil demonstrated and be done in 5 minutes.

I make a living at programming it as well but if you don&#039;t try to be more effecient then I can&#039;t take you seriously. sorry.</description>
		<content:encoded><![CDATA[<p>@Mike</p>
<p>So lets say you type out &#8220;[ControllerAction]&#8221; for each public action that you have. On a medium size project I recently built I had about 10 actions per controller and about 40 controllers across the whole project.</p>
<p>18 Characters x 10 actions per controller = 180 characters PER controller.</p>
<p>Across all controllers that is 7200 characters.</p>
<p>Show me someone that doesn&#8217;t think thats alot of extra typing and I&#8217;ll show you a fool.</p>
<p>Tell you what, you add all the ControllerAction attributes to all your public methods which will take you about 8+ hours and I will subclass it like Phil demonstrated and be done in 5 minutes.</p>
<p>I make a living at programming it as well but if you don&#8217;t try to be more effecient then I can&#8217;t take you seriously. sorry.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: efdee</title>
		<link>http://lostechies.com/seanchambers/2007/12/08/phil-haack-posts-about-asp-net-mvc/#comment-182</link>
		<dc:creator>efdee</dc:creator>
		<pubDate>Mon, 10 Dec 2007 11:10:49 +0000</pubDate>
		<guid isPermaLink="false">/blogs/sean_chambers/archive/2007/12/08/phil-haack-posts-about-asp-net-mvc.aspx#comment-182</guid>
		<description>@Mike: It&#039;s about as great as &quot;I&#039;ve been making a living of it for 2 years now&quot;. People make a living off selling crack on the street, what&#039;s your point ? </description>
		<content:encoded><![CDATA[<p>@Mike: It&#8217;s about as great as &#8220;I&#8217;ve been making a living of it for 2 years now&#8221;. People make a living off selling crack on the street, what&#8217;s your point ? </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike</title>
		<link>http://lostechies.com/seanchambers/2007/12/08/phil-haack-posts-about-asp-net-mvc/#comment-181</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Mon, 10 Dec 2007 09:58:07 +0000</pubDate>
		<guid isPermaLink="false">/blogs/sean_chambers/archive/2007/12/08/phil-haack-posts-about-asp-net-mvc.aspx#comment-181</guid>
		<description>&quot;It adds a lot of extra typing&quot;
Wow, great argument. Same goes for it being a Microsoft technology, the whole (ASP).NET framework is, yet I&#039;ve been making a living programming it for 2 years now. So where&#039;s the problem? </description>
		<content:encoded><![CDATA[<p>&#8220;It adds a lot of extra typing&#8221;<br />
Wow, great argument. Same goes for it being a Microsoft technology, the whole (ASP).NET framework is, yet I&#8217;ve been making a living programming it for 2 years now. So where&#8217;s the problem? </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ScottGu</title>
		<link>http://lostechies.com/seanchambers/2007/12/08/phil-haack-posts-about-asp-net-mvc/#comment-180</link>
		<dc:creator>ScottGu</dc:creator>
		<pubDate>Sun, 09 Dec 2007 00:02:59 +0000</pubDate>
		<guid isPermaLink="false">/blogs/sean_chambers/archive/2007/12/08/phil-haack-posts-about-asp-net-mvc.aspx#comment-180</guid>
		<description>This blog post covers how to pass ViewData from a Controller to a View pretty comprehensively: http://weblogs.asp.net/scottgu/archive/2007/12/06/asp-net-mvc-framework-part-3-passing-viewdata-from-controllers-to-views.aspx

There are two ways to-do it:

1) Via a late-bound ViewData dictionary (like Phil showed above)

2) Via a strongly typed object.  The benefit of this option is that you get type checking and intellisense within your view.

I cover both in my blog post.

Thanks,

Scott</description>
		<content:encoded><![CDATA[<p>This blog post covers how to pass ViewData from a Controller to a View pretty comprehensively: <a href="http://weblogs.asp.net/scottgu/archive/2007/12/06/asp-net-mvc-framework-part-3-passing-viewdata-from-controllers-to-views.aspx" rel="nofollow">http://weblogs.asp.net/scottgu/archive/2007/12/06/asp-net-mvc-framework-part-3-passing-viewdata-from-controllers-to-views.aspx</a></p>
<p>There are two ways to-do it:</p>
<p>1) Via a late-bound ViewData dictionary (like Phil showed above)</p>
<p>2) Via a strongly typed object.  The benefit of this option is that you get type checking and intellisense within your view.</p>
<p>I cover both in my blog post.</p>
<p>Thanks,</p>
<p>Scott</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Haacked</title>
		<link>http://lostechies.com/seanchambers/2007/12/08/phil-haack-posts-about-asp-net-mvc/#comment-179</link>
		<dc:creator>Haacked</dc:creator>
		<pubDate>Sat, 08 Dec 2007 23:42:56 +0000</pubDate>
		<guid isPermaLink="false">/blogs/sean_chambers/archive/2007/12/08/phil-haack-posts-about-asp-net-mvc.aspx#comment-179</guid>
		<description>There is a propertybag approach. You can do this:

ViewData[&quot;foo&quot;] = new Bar();

And reference it in the View as &lt;%= ViewData[&quot;foo&quot;] %&gt;

So you don&#039;t have to pass in the object to renderview. However, if you do, you can take advantage of strongly typed access to your data.</description>
		<content:encoded><![CDATA[<p>There is a propertybag approach. You can do this:</p>
<p>ViewData["foo"] = new Bar();</p>
<p>And reference it in the View as < %= ViewData["foo"] %></p>
<p>So you don&#8217;t have to pass in the object to renderview. However, if you do, you can take advantage of strongly typed access to your data.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joe Ocampo</title>
		<link>http://lostechies.com/seanchambers/2007/12/08/phil-haack-posts-about-asp-net-mvc/#comment-178</link>
		<dc:creator>Joe Ocampo</dc:creator>
		<pubDate>Sat, 08 Dec 2007 20:12:48 +0000</pubDate>
		<guid isPermaLink="false">/blogs/sean_chambers/archive/2007/12/08/phil-haack-posts-about-asp-net-mvc.aspx#comment-178</guid>
		<description>I agree with you on the usage of the [ControllerAction] attribute.  This was something that I always loved about MR in that they took a convention over configuration approach.  The less noise I have in my code the better.

I don&#039;t know how open MS is going to be with the ASPMVC  framework but Jeffery Pallermo recently blogged about an OSS contrib project for ASPMVC.  It looks like they are going to use this project to extend the capabilities of the ASPMVC.  This may help solve your issue.

http://www.codeplex.com/MVCContrib
</description>
		<content:encoded><![CDATA[<p>I agree with you on the usage of the [ControllerAction] attribute.  This was something that I always loved about MR in that they took a convention over configuration approach.  The less noise I have in my code the better.</p>
<p>I don&#8217;t know how open MS is going to be with the ASPMVC  framework but Jeffery Pallermo recently blogged about an OSS contrib project for ASPMVC.  It looks like they are going to use this project to extend the capabilities of the ASPMVC.  This may help solve your issue.</p>
<p><a href="http://www.codeplex.com/MVCContrib" rel="nofollow">http://www.codeplex.com/MVCContrib</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>
