ASP.Net MVC - A Step Towards A More Simple ASP.Net?

written by Scott Watermasysk on Tuesday, November 13 2007

Although I have get my hands on ASP.Net MVC bits, I have a gut feeling I am going to like it, but I think my reasoning is different than most others.

It looks like there are lots of good things coming; better testability, cleaner separation of UI and business logic, and finally a way to do nice clean urls. All of this is nice, but what excites me most about it is just looks simpler. There does not appear to be a bunch events to wire up, you can build a good clean UI without creating controls, overriding events, etc.

IMO, the original page framework is not that bad. It just gives you too many options to do things that quite frankly do not need to happen in a web page. In most cases, Page_Load is all you really need. When I started coding Graffiti, I had the goal of keeping things as absolutely simple as possible. No server controls for the sake of server controls. No complicated set of events. Taken a step further, the public themable UI doesn't even really use pages and instead using a simple text based template system which leverages NVelocity.

Only time will tell, but I am really hopeful that this will help move ASP.Net a giant step forward.

Note: Yes, I am aware there are projects like Castle (hat tip, we are using their updated version of NVelocity), but unfortunately until it is "in the box" it  makes it complicated to build shippable products so I have not really dug into more than just kicking the tires.

Similar Posts

  1. Unfuddle == BaseCamp For Developers
  2. Simplifying ASP.Net - NVelocity
  3. MvcContrib NVelocity Extension

Comments

  • Rob Bazinet on on 11.13.2007 at 10:44 PM

    Rob Bazinet avatar

    Yes, I think things will be good in the MVC world. I wrote a post today about this same subject.

    If you have a chance to play with Ruby on Rails, you can see how the ASP.NET MVC got some of its ideas.

    I write ASP.NET most of the time and the MVC framework will be very welcome for me.

    Graffiti looks pretty cool, by the way.

  • Dave Donaldson on on 11.13.2007 at 11:08 PM

    Dave Donaldson avatar

    That is exactly what the ASP.NET MVC framework will provide and is also the reason I'm excited for it. That was actually a draw when seeing servlets and JSPs in action. There was always something simple yet elegant about it.

  • Jeffrey Palermo on on 11.15.2007 at 12:20 PM

    Jeffrey Palermo avatar

    Definitely looking forward to this.

  • Mike Chaliy on on 11.15.2007 at 12:26 PM

    Mike Chaliy avatar

    Where you got this framework? I was sure that first CPT will be available in few weeks. This information from Scott Guthrie's blog.

  • Rydal on on 12.06.2007 at 2:33 AM

    Rydal avatar

    I completely agree with your thoughts about simplicity. I'm all for KISS. If it doesn't need to be there then don't add it on. I've seen so many developers use unnecessary features just because it is available to them and at the end of the day source code becomes bloated.

Comments are closed