<?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: ASP.NET MVC options for consolidating HTML</title>
	<atom:link href="http://lostechies.com/jimmybogard/2009/01/28/asp-net-mvc-options-for-consolidating-html/feed/" rel="self" type="application/rss+xml" />
	<link>http://lostechies.com/jimmybogard/2009/01/28/asp-net-mvc-options-for-consolidating-html/</link>
	<description>Strong opinions, weakly held</description>
	<lastBuildDate>Thu, 23 May 2013 23:40: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: Another Mike</title>
		<link>http://lostechies.com/jimmybogard/2009/01/28/asp-net-mvc-options-for-consolidating-html/#comment-1256</link>
		<dc:creator>Another Mike</dc:creator>
		<pubDate>Thu, 04 Feb 2010 18:58:05 +0000</pubDate>
		<guid isPermaLink="false">/blogs/jimmy_bogard/archive/2009/01/27/asp-net-mvc-options-for-consolidating-html.aspx#comment-1256</guid>
		<description>Instead of passing an object to the view and doing a for each loop  I am just generating the html for the table in the model.  Then passing the html / string to the view.   Is this bad design?</description>
		<content:encoded><![CDATA[<p>Instead of passing an object to the view and doing a for each loop  I am just generating the html for the table in the model.  Then passing the html / string to the view.   Is this bad design?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike</title>
		<link>http://lostechies.com/jimmybogard/2009/01/28/asp-net-mvc-options-for-consolidating-html/#comment-1255</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Sat, 14 Mar 2009 17:14:48 +0000</pubDate>
		<guid isPermaLink="false">/blogs/jimmy_bogard/archive/2009/01/27/asp-net-mvc-options-for-consolidating-html.aspx#comment-1255</guid>
		<description>For me the best thing about MVC is that I don&#039;t have to deal with the nutty page/control lifecycles any more. Good riddance!!</description>
		<content:encoded><![CDATA[<p>For me the best thing about MVC is that I don&#8217;t have to deal with the nutty page/control lifecycles any more. Good riddance!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John</title>
		<link>http://lostechies.com/jimmybogard/2009/01/28/asp-net-mvc-options-for-consolidating-html/#comment-1254</link>
		<dc:creator>John</dc:creator>
		<pubDate>Wed, 28 Jan 2009 21:41:52 +0000</pubDate>
		<guid isPermaLink="false">/blogs/jimmy_bogard/archive/2009/01/27/asp-net-mvc-options-for-consolidating-html.aspx#comment-1254</guid>
		<description>True, a simple LI might be easier with a for loop.  But you can still do that directly on a webform if you watn.  But if you want to have a reusable list that can be customizable via parameters, then all of a sudden it&#039;s easier to create a user control.  

For me, with writing LOB applications, or even ecommerce apps, a lot of the problem stems around keeping parameters during postback and using a control multiple times on a page while ensuring that all of the ids are unique.  Stuff like that is a cinch with webforms, while it requires hacks that, to me, are just as bad as what people complain about regarding lifecycle.

To each his own.  I want to believe in MVC.  Maybe in a couple of releases many of my issues will be resolved or mitigated.  By then, though, Scottgu and team might have made webforms much more workable, too.

It really is fun.  Our career path will never be boring :). </description>
		<content:encoded><![CDATA[<p>True, a simple LI might be easier with a for loop.  But you can still do that directly on a webform if you watn.  But if you want to have a reusable list that can be customizable via parameters, then all of a sudden it&#8217;s easier to create a user control.  </p>
<p>For me, with writing LOB applications, or even ecommerce apps, a lot of the problem stems around keeping parameters during postback and using a control multiple times on a page while ensuring that all of the ids are unique.  Stuff like that is a cinch with webforms, while it requires hacks that, to me, are just as bad as what people complain about regarding lifecycle.</p>
<p>To each his own.  I want to believe in MVC.  Maybe in a couple of releases many of my issues will be resolved or mitigated.  By then, though, Scottgu and team might have made webforms much more workable, too.</p>
<p>It really is fun.  Our career path will never be boring <img src='http://lostechies.com/jimmybogard/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> . </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bogardj</title>
		<link>http://lostechies.com/jimmybogard/2009/01/28/asp-net-mvc-options-for-consolidating-html/#comment-1253</link>
		<dc:creator>bogardj</dc:creator>
		<pubDate>Wed, 28 Jan 2009 19:53:43 +0000</pubDate>
		<guid isPermaLink="false">/blogs/jimmy_bogard/archive/2009/01/27/asp-net-mvc-options-for-consolidating-html.aspx#comment-1253</guid>
		<description>@Nikola

I doubt it.  Silverlight isn&#039;t for web applications.  It&#039;s for WPF applications hosted on the web.  That&#039;s a _huge_ difference in experience for the end user.  I think we all need to abandon the &quot;Flash/Silverlight/Javaservlets will replace the web&quot; idea, they don&#039;t and never will.</description>
		<content:encoded><![CDATA[<p>@Nikola</p>
<p>I doubt it.  Silverlight isn&#8217;t for web applications.  It&#8217;s for WPF applications hosted on the web.  That&#8217;s a _huge_ difference in experience for the end user.  I think we all need to abandon the &#8220;Flash/Silverlight/Javaservlets will replace the web&#8221; idea, they don&#8217;t and never will.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nikola Malovic</title>
		<link>http://lostechies.com/jimmybogard/2009/01/28/asp-net-mvc-options-for-consolidating-html/#comment-1252</link>
		<dc:creator>Nikola Malovic</dc:creator>
		<pubDate>Wed, 28 Jan 2009 19:00:33 +0000</pubDate>
		<guid isPermaLink="false">/blogs/jimmy_bogard/archive/2009/01/27/asp-net-mvc-options-for-consolidating-html.aspx#comment-1252</guid>
		<description>I wonder whe Silverlight plugin would be on 99% of browsers, would this MVS vs WebForms debate still be of any importance</description>
		<content:encoded><![CDATA[<p>I wonder whe Silverlight plugin would be on 99% of browsers, would this MVS vs WebForms debate still be of any importance</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bogardj</title>
		<link>http://lostechies.com/jimmybogard/2009/01/28/asp-net-mvc-options-for-consolidating-html/#comment-1251</link>
		<dc:creator>bogardj</dc:creator>
		<pubDate>Wed, 28 Jan 2009 17:14:34 +0000</pubDate>
		<guid isPermaLink="false">/blogs/jimmy_bogard/archive/2009/01/27/asp-net-mvc-options-for-consolidating-html.aspx#comment-1251</guid>
		<description>@John

Fair enough, but I&#039;m dealing with scenarios where I don&#039;t want to abstract HTML.  HTML + JavaScript + jQuery are easy.  WebForms solved a problem I didn&#039;t have, and the PostBack model is only ideal for very targeted scenarios, such as things like portals.

Living in MVC land (not just ASP.NET MVC, but MVC in general) has let me focus on the _real_ problems of building an application, not contrived ones like ViewState, page lifecycle and all the heavyweight cruft of Controls.

For example, a &quot;for&quot; loop for creating &lt;li&gt; tags is easier than a Repeater, in my experience.  It&#039;s obvious and simple to explain and use.  In my experience, it&#039;s much harder to explain the WebForms model than MVC.</description>
		<content:encoded><![CDATA[<p>@John</p>
<p>Fair enough, but I&#8217;m dealing with scenarios where I don&#8217;t want to abstract HTML.  HTML + JavaScript + jQuery are easy.  WebForms solved a problem I didn&#8217;t have, and the PostBack model is only ideal for very targeted scenarios, such as things like portals.</p>
<p>Living in MVC land (not just ASP.NET MVC, but MVC in general) has let me focus on the _real_ problems of building an application, not contrived ones like ViewState, page lifecycle and all the heavyweight cruft of Controls.</p>
<p>For example, a &#8220;for&#8221; loop for creating
<li> tags is easier than a Repeater, in my experience.  It&#8217;s obvious and simple to explain and use.  In my experience, it&#8217;s much harder to explain the WebForms model than MVC.</li>
]]></content:encoded>
	</item>
	<item>
		<title>By: John</title>
		<link>http://lostechies.com/jimmybogard/2009/01/28/asp-net-mvc-options-for-consolidating-html/#comment-1250</link>
		<dc:creator>John</dc:creator>
		<pubDate>Wed, 28 Jan 2009 16:31:45 +0000</pubDate>
		<guid isPermaLink="false">/blogs/jimmy_bogard/archive/2009/01/27/asp-net-mvc-options-for-consolidating-html.aspx#comment-1250</guid>
		<description>All of these are ways to encapsulate HTML and view-creating code for reuse.  They all have plusses and minuses.  They require understanding interactions between parts.  Sounds a lot like webform usercontrols to me.  You&#039;re replacing page lifecycle and viewstate with other pieces that are also complex.  

This whole argument reminds me of the C++ vs. C# argument.  It&#039;s very much the same.  C++ people want maximum flexibility and power.  C# people are willing to give some of that up for higher-level coding with strong types.  Neither is wrong.  Both have their places.  Same with Webforms vs. MVC.  Both are smelly in their own ways.  Both make some things harder and some things easier.  A person has to decide whether they want to do low-level programming (html, javascript), etc., vs. higher-level programming (webforms, controls), etc.  With lower-level programming, you can always build reusable code to give you a higher-level feel, and with higher-level programming, you can also make direct calls to lower-level code when you need to.

Me, I&#039;m sticking with webforms until someone can tell me a better way.  So far, at least with this version, MVC isn&#039;t it.  I&#039;ve been doing web development since the original ASP.  I did dhtml/xmlhttprequests back in 99 with IE before it had a name.  I celebrated being able to get away from direct HTML and the like.  Without a compelling reason, I don&#039;t want to go back.  And for me, better testability is not enough.  I&#039;ll take easier front-end coding with harder testability vs. harder front-end coding and easier testability any day.

Just my thoughts.  

John West</description>
		<content:encoded><![CDATA[<p>All of these are ways to encapsulate HTML and view-creating code for reuse.  They all have plusses and minuses.  They require understanding interactions between parts.  Sounds a lot like webform usercontrols to me.  You&#8217;re replacing page lifecycle and viewstate with other pieces that are also complex.  </p>
<p>This whole argument reminds me of the C++ vs. C# argument.  It&#8217;s very much the same.  C++ people want maximum flexibility and power.  C# people are willing to give some of that up for higher-level coding with strong types.  Neither is wrong.  Both have their places.  Same with Webforms vs. MVC.  Both are smelly in their own ways.  Both make some things harder and some things easier.  A person has to decide whether they want to do low-level programming (html, javascript), etc., vs. higher-level programming (webforms, controls), etc.  With lower-level programming, you can always build reusable code to give you a higher-level feel, and with higher-level programming, you can also make direct calls to lower-level code when you need to.</p>
<p>Me, I&#8217;m sticking with webforms until someone can tell me a better way.  So far, at least with this version, MVC isn&#8217;t it.  I&#8217;ve been doing web development since the original ASP.  I did dhtml/xmlhttprequests back in 99 with IE before it had a name.  I celebrated being able to get away from direct HTML and the like.  Without a compelling reason, I don&#8217;t want to go back.  And for me, better testability is not enough.  I&#8217;ll take easier front-end coding with harder testability vs. harder front-end coding and easier testability any day.</p>
<p>Just my thoughts.  </p>
<p>John West</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bogardj</title>
		<link>http://lostechies.com/jimmybogard/2009/01/28/asp-net-mvc-options-for-consolidating-html/#comment-1249</link>
		<dc:creator>bogardj</dc:creator>
		<pubDate>Wed, 28 Jan 2009 16:12:29 +0000</pubDate>
		<guid isPermaLink="false">/blogs/jimmy_bogard/archive/2009/01/27/asp-net-mvc-options-for-consolidating-html.aspx#comment-1249</guid>
		<description>@brad

I&#039;d love to see some code on the problems you&#039;re seeing.  If you get a chance, put a link back here to a blog post with the issues you&#039;ve described.</description>
		<content:encoded><![CDATA[<p>@brad</p>
<p>I&#8217;d love to see some code on the problems you&#8217;re seeing.  If you get a chance, put a link back here to a blog post with the issues you&#8217;ve described.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: brad</title>
		<link>http://lostechies.com/jimmybogard/2009/01/28/asp-net-mvc-options-for-consolidating-html/#comment-1248</link>
		<dc:creator>brad</dc:creator>
		<pubDate>Wed, 28 Jan 2009 15:23:55 +0000</pubDate>
		<guid isPermaLink="false">/blogs/jimmy_bogard/archive/2009/01/27/asp-net-mvc-options-for-consolidating-html.aspx#comment-1248</guid>
		<description>@bogardj
for starters, i am not suggesting returning to viewstate and heavy controls, i just dont like the way all these options &quot;feel&quot;.  I think my biggest problem is the fact that you do the data mapping out to html on the view side and then back in on the controller side.  This doesnt pass the smell test.  I have not fully come up w/ a solution, yet so i guess i shouldnt bitch too loudly ;)</description>
		<content:encoded><![CDATA[<p>@bogardj<br />
for starters, i am not suggesting returning to viewstate and heavy controls, i just dont like the way all these options &#8220;feel&#8221;.  I think my biggest problem is the fact that you do the data mapping out to html on the view side and then back in on the controller side.  This doesnt pass the smell test.  I have not fully come up w/ a solution, yet so i guess i shouldnt bitch too loudly <img src='http://lostechies.com/jimmybogard/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Almond</title>
		<link>http://lostechies.com/jimmybogard/2009/01/28/asp-net-mvc-options-for-consolidating-html/#comment-1247</link>
		<dc:creator>Almond</dc:creator>
		<pubDate>Wed, 28 Jan 2009 14:02:53 +0000</pubDate>
		<guid isPermaLink="false">/blogs/jimmy_bogard/archive/2009/01/27/asp-net-mvc-options-for-consolidating-html.aspx#comment-1247</guid>
		<description>This is a great summray of a issue I bumped into when I first started using MVC and still see a lot of other people posting online about.

Thanks for your great article! </description>
		<content:encoded><![CDATA[<p>This is a great summray of a issue I bumped into when I first started using MVC and still see a lot of other people posting online about.</p>
<p>Thanks for your great article! </p>
]]></content:encoded>
	</item>
</channel>
</rss>
