TomsTechBlog.com

It's hard to say these days

MVC for Everybody?

clock December 11, 2007 17:17 by author Tom

I haven't had a lot of time to play with the new MVC Framework due to work issues that have arisen but I did run across one post that I wanted to comment on.  In his post "Is MVC right for you?" Phil Winstanley does everything in his power to prove that it is in fact not right for you.  He concludes his post by saying...

So, to summarise: -

  • It's important that people understand Web Forms are not being abandoned by Microsoft.
  • MVC is not perfect.
  • MVC is not easy (if you're a Web Forms person already).
  • You will have a choice moving forward of using Web Forms or MVC with you applications.

Please, if you're going to flame me, let me know first and I'll turn off the central heating.

I'm a big MVC supporter but honestly I agree with Mr. Winstanley for the most part.  I think the advantages of the MVC framework have been oversold at this point and I certainly don't think it is worth it to rewrite most applications.  Nor do I think it is worth it for developers who are comfortable in Web Forms to abandon what works for them.

The way I see it the MVC Framework has two advantages:

  1. If you've always felt uncomfortable with Web Forms and the MVC approach makes more sense to you.  This is where I fit in and this is where I think a lot of people with a Computer Science background who haven't already been immersed in Web Forms will probably fit in.  Web Forms does a lot to abstract what is actually going on and if you are intimately aware of those goings on it becomes very distracting.
  2. If you are planning a massive ASP.NET application (and by massive I mean either in code base or user base).  The MVC approach does provide a performance increase and it does make testing a lot easier (and in fact makes some testing possible that wasn't in web forms).  But in 97% of ASP.NET applications Web Forms will provide adequate performance and adequate testing abilities (I made 97% up off the top of my head btw but its a reasonable approximation) . 

 

I guess what I'm saying is this: If you have to wonder if MVC is right for you than it probably isn't.  The MVC Framework is something that many people have been waiting for in ASP.NET and those are the people it is right for.  I'd suggest that anyone interested play with it to see how they feel about it but there's certainly no need to jump ship on Web Forms anytime soon.



MVC Arrives

clock December 10, 2007 02:19 by author Tom

I certainly had my pick of blogs from which to quote this news from but I liked Bil Simer's delivery the most...

You've read about it on the Internet, you've seen us talking about it, and if you were at DevTeach last week you soaked up Justice's inhuman presentation (and Jeffrey's more than human one) on the tool you'll know what the buzz this week is. Now you can see what the hype is all about.

The ASP.NET MVC addition is now available here.

So there it is.  You have to hand it to the team working on this for obviously working over the weekend and getting it out (by my clock) 5 hours early.

The download is going painfully slow but not even that can't contain my giddiness.  Honestly, though I admire what the Web Forms team has done and I understand that it made things infinitely easier for Windows Developers who were transitioning over I personally have never been that comfortable with the current model. 

For me it has always been hard to accept that part of the process was being not only kept from me but actually changed to look like something else.  You could almost say it caused the Developer side of my brain and the IT side of my brain to be in constant conflict as the IT side constantly told the Developer side to not trust what it was being told by Visual Studio (how's that for an over dramatic description)

The MVC method of doing things makes a lot more sense to me.  In fact it is one of those rare occasions where something that feels good is actually good for you in that I hope to get some significant performance gains out of this change as well. 

In the end, I'm sure I'll still be working with Web Forms for years to come but this will be a nice change of pace for any new projects. 



About Me

Not really relevant right now. This blog is on hiatus. I really haven't decided if it is an indefinite hiatus yet

For the record if you've tried to e-mail me over the last 4 to 6 months I didn't mean to ignore you. The e-mail forwarding isn't working and I didn't realize that until months worth of e-mails had been deleted on forward. The tom@tomstechblog.com address still won't forward to the postmaster account and I don't know why because it's provided by the webhost. But if you're one of my old blog pen pals I would always welcome an e-mail from you at the postmaster@tomstechblog.com address

Contact

- E-Mail Tom

Search

Subscribe

- Subscribe to this Blog

Calendar

<<  December 2014  >>
SuMoTuWeThFrSa
30123456
78910111213
14151617181920
21222324252627
28293031123
45678910

Archive

Tags

Categories


Blogroll

    Disclaimer

    The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

    © Copyright 2014

    Sign in