﻿<?xml version="1.0" encoding="utf-8"?><rss version="2.0"><channel><title>Ayende @ Rahien</title><link>http://ayende.com</link><description>Ayende @ Rahien</description><copyright>Copyright (C) Ayende Rahien  2004 - 2021 (c) 2026</copyright><ttl>60</ttl><item><title>Chris Smith commented on YAGNI, I told them, millennium hand and shrimp!</title><description>I don't think there is a stable definition of MVC in a web context which we can build on.  It means different things to different people.  Ok slight clarification on my point..
  
  
View State &lt;= ViewData.  ViewData is actually greater than View State.  You have to pass the state via View Data to the view.  ASP.Net provides a black box abstraction for this and persists it automatically between requests.  The concepts are equivalent and you do spend a lot of time building ASP.Net on top of ASP.Net MVC.
  
  
Code behind == Controller.  Each is responsibly for managing UI state and interaction with the model.  ASP.Net MVC uses request data for state management (you manually recover state).  ASP.Net web forms manages state for you.
  
  
Same generalised concepts, different application.
  
  
MVC is so blurred, it's impossible to take sides.
</description><link>http://ayende.com/4269/yagni-i-told-them-millennium-hand-and-shrimp#comment19</link><guid>http://ayende.com/4269/yagni-i-told-them-millennium-hand-and-shrimp#comment19</guid><pubDate>Sun, 01 Nov 2009 11:10:26 GMT</pubDate></item><item><title>Ayende Rahien commented on YAGNI, I told them, millennium hand and shrimp!</title><description>Chris,
  
Your parallels are quite mistaken
</description><link>http://ayende.com/4269/yagni-i-told-them-millennium-hand-and-shrimp#comment18</link><guid>http://ayende.com/4269/yagni-i-told-them-millennium-hand-and-shrimp#comment18</guid><pubDate>Sun, 01 Nov 2009 03:10:22 GMT</pubDate></item><item><title>Chris Smith commented on YAGNI, I told them, millennium hand and shrimp!</title><description>If it works, does it matter?  I've released a few things built this way and I've never had any trouble.  I mean BIG things which have over a million hits a day.
  
  
Don't forget:
  
  
ViewState == ViewData
  
Code behind == Controller
</description><link>http://ayende.com/4269/yagni-i-told-them-millennium-hand-and-shrimp#comment17</link><guid>http://ayende.com/4269/yagni-i-told-them-millennium-hand-and-shrimp#comment17</guid><pubDate>Sat, 31 Oct 2009 22:52:40 GMT</pubDate></item><item><title>Jason Stangroome commented on YAGNI, I told them, millennium hand and shrimp!</title><description>I'm really interested to see where this takes you as your application evolves. I presume you're still writing tests.
</description><link>http://ayende.com/4269/yagni-i-told-them-millennium-hand-and-shrimp#comment16</link><guid>http://ayende.com/4269/yagni-i-told-them-millennium-hand-and-shrimp#comment16</guid><pubDate>Thu, 29 Oct 2009 02:55:29 GMT</pubDate></item><item><title>Tobin Harris commented on YAGNI, I told them, millennium hand and shrimp!</title><description>I like it too, beginners mindset in action. Also better than the 350+ LOC that comes with MVC AccountController (assuming userService isn't a refactoring of that).
</description><link>http://ayende.com/4269/yagni-i-told-them-millennium-hand-and-shrimp#comment15</link><guid>http://ayende.com/4269/yagni-i-told-them-millennium-hand-and-shrimp#comment15</guid><pubDate>Wed, 28 Oct 2009 00:32:04 GMT</pubDate></item><item><title>gunteman commented on YAGNI, I told them, millennium hand and shrimp!</title><description>I like it! 
</description><link>http://ayende.com/4269/yagni-i-told-them-millennium-hand-and-shrimp#comment14</link><guid>http://ayende.com/4269/yagni-i-told-them-millennium-hand-and-shrimp#comment14</guid><pubDate>Tue, 27 Oct 2009 20:07:11 GMT</pubDate></item><item><title>Eugene Burmako commented on YAGNI, I told them, millennium hand and shrimp!</title><description>I smell duct tape
</description><link>http://ayende.com/4269/yagni-i-told-them-millennium-hand-and-shrimp#comment13</link><guid>http://ayende.com/4269/yagni-i-told-them-millennium-hand-and-shrimp#comment13</guid><pubDate>Tue, 27 Oct 2009 19:26:16 GMT</pubDate></item><item><title>Frank Quednau commented on YAGNI, I told them, millennium hand and shrimp!</title><description>Nobody doubts this works, but it's brutal.
</description><link>http://ayende.com/4269/yagni-i-told-them-millennium-hand-and-shrimp#comment12</link><guid>http://ayende.com/4269/yagni-i-told-them-millennium-hand-and-shrimp#comment12</guid><pubDate>Tue, 27 Oct 2009 18:23:54 GMT</pubDate></item><item><title>Phil commented on YAGNI, I told them, millennium hand and shrimp!</title><description>I am calling YAGNI on this code.  Why do users even need to login?
</description><link>http://ayende.com/4269/yagni-i-told-them-millennium-hand-and-shrimp#comment11</link><guid>http://ayende.com/4269/yagni-i-told-them-millennium-hand-and-shrimp#comment11</guid><pubDate>Tue, 27 Oct 2009 17:42:31 GMT</pubDate></item><item><title>Andrew commented on YAGNI, I told them, millennium hand and shrimp!</title><description>I know we all hate Web Forms, but really, we don't even know what this project/application is meant to do.  If it's 3 web pages that show a grid with a few text boxes, Web Forms will be just fine..
</description><link>http://ayende.com/4269/yagni-i-told-them-millennium-hand-and-shrimp#comment10</link><guid>http://ayende.com/4269/yagni-i-told-them-millennium-hand-and-shrimp#comment10</guid><pubDate>Tue, 27 Oct 2009 16:49:53 GMT</pubDate></item><item><title>Bradley Landis commented on YAGNI, I told them, millennium hand and shrimp!</title><description>zvolkov,
  
  
Wouldn't having controller pages and view pages right from the get go defeat the point of the experient.  You Aren't Going To Need It!  I think ayende is saying, he will gladly refactor to something like that when the need arises, he is just waiting for the need to arise.
</description><link>http://ayende.com/4269/yagni-i-told-them-millennium-hand-and-shrimp#comment9</link><guid>http://ayende.com/4269/yagni-i-told-them-millennium-hand-and-shrimp#comment9</guid><pubDate>Tue, 27 Oct 2009 14:23:27 GMT</pubDate></item><item><title>Paul commented on YAGNI, I told them, millennium hand and shrimp!</title><description>What is this strange MasterPageFile you speak of? All looks a bit new and technical to me :)
  
  
Fair play man.  If it doesn't change too much and isn't causing sleepless nights, roll with it.
  
  
</description><link>http://ayende.com/4269/yagni-i-told-them-millennium-hand-and-shrimp#comment8</link><guid>http://ayende.com/4269/yagni-i-told-them-millennium-hand-and-shrimp#comment8</guid><pubDate>Tue, 27 Oct 2009 14:07:44 GMT</pubDate></item><item><title>Ryan Riley commented on YAGNI, I told them, millennium hand and shrimp!</title><description>If you are pulling YAGNI, why are you starting with ASP.NET? Why not start with your HTML? After all, ASP.NET is producing HTML forms, which are really just documents with a designated action attribute for processing (which is also optional). So you could in fact just have the form and then create an ASP or ASP.NET page for the processing, then redirect. Or use CGI and really go caveman style. :)
  
  
Seriously, though, how did you decide that classic WebForms was YAGNI? On what were you calling YAGNI? MVC? If so, I don't follow the logic as those are two different approaches to achieving the same thing. If you had called YAGNI on ASP.NET in favor of ASP, I would understand (and possibly agree).
</description><link>http://ayende.com/4269/yagni-i-told-them-millennium-hand-and-shrimp#comment7</link><guid>http://ayende.com/4269/yagni-i-told-them-millennium-hand-and-shrimp#comment7</guid><pubDate>Tue, 27 Oct 2009 13:32:10 GMT</pubDate></item><item><title>zvolkov commented on YAGNI, I told them, millennium hand and shrimp!</title><description>Postbacks? Oh no! Even back in 2000 with classic ASP I always did command/query separation (or controller/view separation). View pages posted their forms to controller pages and controller pages redirected to view pages. You can do webforms but no posbacks for Christ sake!
</description><link>http://ayende.com/4269/yagni-i-told-them-millennium-hand-and-shrimp#comment6</link><guid>http://ayende.com/4269/yagni-i-told-them-millennium-hand-and-shrimp#comment6</guid><pubDate>Tue, 27 Oct 2009 13:11:07 GMT</pubDate></item><item><title>Chris Cyvas commented on YAGNI, I told them, millennium hand and shrimp!</title><description>Your webform brings all the boys to the yard! ;)
  
  
I think the hipster coders might knock a few points off your "cool" factor for displaying such an antiquated technology. At least, that's what they would say. :)
</description><link>http://ayende.com/4269/yagni-i-told-them-millennium-hand-and-shrimp#comment5</link><guid>http://ayende.com/4269/yagni-i-told-them-millennium-hand-and-shrimp#comment5</guid><pubDate>Tue, 27 Oct 2009 12:34:06 GMT</pubDate></item><item><title>James L commented on YAGNI, I told them, millennium hand and shrimp!</title><description>WebForms, I do so hate thee...
</description><link>http://ayende.com/4269/yagni-i-told-them-millennium-hand-and-shrimp#comment4</link><guid>http://ayende.com/4269/yagni-i-told-them-millennium-hand-and-shrimp#comment4</guid><pubDate>Tue, 27 Oct 2009 12:21:30 GMT</pubDate></item><item><title>Barry Dahlberg commented on YAGNI, I told them, millennium hand and shrimp!</title><description>Ack, blog ate my HTML, or rather, didn't eat my HTML...  should that be HtmlEncoded?
</description><link>http://ayende.com/4269/yagni-i-told-them-millennium-hand-and-shrimp#comment3</link><guid>http://ayende.com/4269/yagni-i-told-them-millennium-hand-and-shrimp#comment3</guid><pubDate>Tue, 27 Oct 2009 11:44:02 GMT</pubDate></item><item><title>Barry Dahlberg commented on YAGNI, I told them, millennium hand and shrimp!</title><description>Gee if you had those all in custom controls you'd be able to make one change to fix all your labels so they are associated with their text boxes...
  
  
&lt;labelPass 
&lt;texbox&gt;  
  
;)
</description><link>http://ayende.com/4269/yagni-i-told-them-millennium-hand-and-shrimp#comment2</link><guid>http://ayende.com/4269/yagni-i-told-them-millennium-hand-and-shrimp#comment2</guid><pubDate>Tue, 27 Oct 2009 11:41:34 GMT</pubDate></item><item><title>Graham commented on YAGNI, I told them, millennium hand and shrimp!</title><description>Buggrit!
</description><link>http://ayende.com/4269/yagni-i-told-them-millennium-hand-and-shrimp#comment1</link><guid>http://ayende.com/4269/yagni-i-told-them-millennium-hand-and-shrimp#comment1</guid><pubDate>Tue, 27 Oct 2009 11:00:19 GMT</pubDate></item></channel></rss>