i created web application using common methods like
default.aspx -> business objects -> dataacess,,,
now mvc is used for developing,,i dont no what is benefit of mvc,,why mvc? advantages of mvc ? ...it is faster?
thanks
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Abhay ShankerPosted Nov 28, 2013, 10:04 PM
Web forms doesn't follow a controller based pattern. Instead you can use a presenter pattern (MVP : model view presenter), which while similar to mvc, differs in that the presenter has direct access to ui elements whereas a controller does not.
In terms of seperation of concern, it's true that asp.net mvc in it's entirety is the presentation layer (at least in a well architeced application). However that seperation doesn't only apply to teams split across m, v and c. It's more about functional seperation and future maintenance. For example if new a project requirement is to create a different set of pages for mobile devices, that is easiy achieved by only creating new views. You don't had to touch the controller. Like wise, the model (assuming the data model) can be modified to use a different data source without changing controller or view code.
Personally I have never regretted switching to asp.net mvc. In addition to what everyone has said about testability, performance and seperation of concerns I want to add my two cents.
Abdu RafeeqPosted Nov 28, 2013, 10:47 PM