Is Mvc Really A Beneficial Step In The Right Direction
Generally there are a tremendous amount of ASP.NET web forms programmers out there
who say that that they simply don't have an understanding of ASP.NET MVC. In a lot of ways, I can associate with them. The vocal minority that speaks about ASP.NET MVC talk about it with such zeal that they make it sound like you'd have to be a twit not to swap over. In actuality, the selection isn't nearly as easy.
ASP.NET web forms aren't going anyplace. These techniques have their proper place in a web developer's toolbox and it's important to understand their strengths and weak points. In general, the ASP.NET MVC framework has a tendency to sacrifice ease-of-use (e.g. viewstate, validation, etc.) in order to present developers stronger control over the reins. This can be a excellent thing, but only if you take advantage of it. If not it can just as readily be a issue.
With all of this, I have formulated a rapid metric to determine if ASP.NET MVC is best for you. The way I see it, there are a few primary motives a developer should decide on the ASP.NET MVC framework over ASP.NET web forms. If none of these purposes are persuasive to you, then you need to stick with ASP.NET web forms:
To Gain Control and Extensibility
As indicated out in the comments, ASP.NET MVC presents you much more management and extensibility options than ASP.NET web forms. You get complete control over the site request lifecycle and the means to swap out several key portions of the framework (e.g. view engine, routing, etc.), none of which is achievable with ASP.NET web forms.
In addition to this, you also acquire full control over the delivered HTML. In general, the rendered HTML from ASP.NET web forms applications is atrocious. The web controls it takes advantage of generate waste ids and hidden fields in abundance that not only impede the overall performance of a site, but also make CSS styling and Javascript development a pain. ASP.NET MVC makes you to be much more in tune with your HTML. There aren't any datagrids or repeaters that magically generate markup for you. There aren't any disguised . fields to continue to persist state for you. It's just you, the HTML, and a number of extension methods.
To Unit Test
This, in my belief, is the most persuasive motive to use ASP.NET MVC. When it comes to unit testing, ASP.NET MVC easily surpasses ASP.NET web forms. It's not even close. Whereas ASP.NET web forms needs you to hop through all types of hoops to test around the page event lifecycle, the ASP.NET MVC framework practically begs to be tested. There are interfaces just about everywhere proclaiming "mock me up!".
There's a reason why the major ASP.NET MVC proponents also are likely to be TDD promoters; it's since ASP.NET MVC essentially makes it possible for for TDD. In my opinion, I believe this is where all the fervour comes from. Basically put: it's genuinely hard to do TDD with ASP.NET web forms and definitely uncomplicated to do it in ASP.NET MVC.
To Have a shot at Something New
I should discuss that learning ASP.NET MVC is an unbelievably engaging process since the ASP.NET MVC framework team has been so interactive in the process. I consider a significant part of the appeal of ASP.NET MVC is that the community's input is not only being taken into consideration, it is positively being sought after. The framework has started so many discussions and arguments over best practices that simply following along presents you to principles you might formerly have been unaware of. I would actually recommend mastering the ASP.NET MVC framework for this purpose alone.
So there it is. Aside from those three, I can't think of any other reasons why a programmer would study ASP.NET MVC. Perhaps this is why the adoption rate isn't nearly as high as we believe that it should be. The motivation for using the framework fundamentally boils down to unit testing, control/extensibility, and boredom/curiosity. Good reasons, but scarcely game breakers for the vast majority of web developers out there.
by: scotspepeh
Save Money By Grabbing Vacation Packages The Fundamentals Of Mba Cost Virtual Stock Market: Stock Dividend Vs. Cash Dividend Top Body Building Tips How To Use Keywords In Your Article Content An Article About How To Save Money Within The Workplace How Can Muscle Constructing Change Your Life? Gain A Fit Thoughts & Body! Leave A Good Impression With Cleanliness In Your Place How To Reduce Weight Tricks To Lowers Your Weight Tickets For Theatre Magazine Publishing Is A Roller Coaster Ride Faites De La Traduction Anglais Top Qualit Choosing The Best Type Of Dog For Your Child