Benefits of ASP.NET MVC Development
2013-05-09 22:11
141 查看
Model-view-controller has three layers: the model, the view, and the controller. The model can be considered the data used in the program, the controller includes the class files with the business logic, and the view is simply the user interface. By isolating the model, the view, and the controller, development is faster, complexity is easier to manage, and there is more control over the behavior of the application.
1. Managed Complexity – The separated nature of model-view-controller makes it easier to manage the complexity of large applications and keep it well organized. Developers are able to focus on one aspect of implementation at a time, such as concentrating on the view without depending on the business logic. Some functions and classes of MVC can even be auto-created to save time.
2. Faster Test-Driven Development – With MVC, it’s easier to test applications than it is to test Forms-based ASP.NET web applications. This is because the separation of application tasks are all defined differently so they add no more complexity. Developers can test very short development cycles by writing a failing automated test case to define a desired improvement or function, then writing the new code.
3. Rapid, Parallel Development– Because of the loose coupling of the MVC architecture, it’s easier for more than one developer can code at the same time on the application. If one developer is working on the view, another on the controller logic, and the last on the business logic in the model, the application can potentially be completed three times faster. Using other architectures, the three developers are more likely to step on each other’s toes. But with model-view-controller, they code independently and simultaneously.
4. Full Control Over Behaviour – The MVC framework is ideal for developers who want full control over the behaviour of their application because MVC does not use a view state or server-based forms.
5. Code Reuse – Since the controller uses different pieces of the model and view to create a request, many of these parts can be reused in other MVC applications. These reusable building blocks are chosen by the controller to handle specific processing (model) and display (view) requirements.
6. JavaScript Integration – The model-view-controller architecture also integrates with the JavaScript Framework. This means, MVC applications can be made to work with applications outside web pages, such as PDF documents, site-specific browsers, and desktop widgets. It also supports asynchronous calls to such scripts which results to faster loading.
7. No Viewstate or Postback Events – Rather than using Viewstate or Postback events to store the state of server controls on the page and to manage invocation of server side events, MVC instead uses different view engines to generate the markup that streams back to the browser client. The advantage here is that you can produce more standard markup and have greater control over what will be rendered to the client.
http://social.technet.microsoft.com/wiki/contents/articles/13605.benefits-of-asp-net-mvc-development.aspx
1. Managed Complexity – The separated nature of model-view-controller makes it easier to manage the complexity of large applications and keep it well organized. Developers are able to focus on one aspect of implementation at a time, such as concentrating on the view without depending on the business logic. Some functions and classes of MVC can even be auto-created to save time.
2. Faster Test-Driven Development – With MVC, it’s easier to test applications than it is to test Forms-based ASP.NET web applications. This is because the separation of application tasks are all defined differently so they add no more complexity. Developers can test very short development cycles by writing a failing automated test case to define a desired improvement or function, then writing the new code.
3. Rapid, Parallel Development– Because of the loose coupling of the MVC architecture, it’s easier for more than one developer can code at the same time on the application. If one developer is working on the view, another on the controller logic, and the last on the business logic in the model, the application can potentially be completed three times faster. Using other architectures, the three developers are more likely to step on each other’s toes. But with model-view-controller, they code independently and simultaneously.
4. Full Control Over Behaviour – The MVC framework is ideal for developers who want full control over the behaviour of their application because MVC does not use a view state or server-based forms.
5. Code Reuse – Since the controller uses different pieces of the model and view to create a request, many of these parts can be reused in other MVC applications. These reusable building blocks are chosen by the controller to handle specific processing (model) and display (view) requirements.
6. JavaScript Integration – The model-view-controller architecture also integrates with the JavaScript Framework. This means, MVC applications can be made to work with applications outside web pages, such as PDF documents, site-specific browsers, and desktop widgets. It also supports asynchronous calls to such scripts which results to faster loading.
7. No Viewstate or Postback Events – Rather than using Viewstate or Postback events to store the state of server controls on the page and to manage invocation of server side events, MVC instead uses different view engines to generate the markup that streams back to the browser client. The advantage here is that you can produce more standard markup and have greater control over what will be rendered to the client.
http://social.technet.microsoft.com/wiki/contents/articles/13605.benefits-of-asp-net-mvc-development.aspx
相关文章推荐
- ASP.NET MVC:some benefits of asp.net mvc
- Programming ASP.NET MVC-Fundamentals of ASP.NET MVC(八)Putting It All Together
- Implementing the Repository and Unit of Work Patterns in an ASP.NET MVC Application (9 of 10)
- ASP.NET MVC运行出现Uncaught TypeError: Cannot set property __MVC_FormValidation of null的解决方法
- Using ASP.NET MVC with Different Versions of IIS
- Front-line of Front-end, Rational Front-end Performance Tuning in ASP.NET MVC, III
- Four Ways Of Handling Multiple Submit Buttons In ASP.NET MVC
- Chapter 10: Test Driven Development with ASP.NET MVC --- Professional ASP.NET MVC 1.0
- Programming ASP.NET MVC-Fundamentals of ASP.NET MVC(三)Convention over Configuration
- Rapid Business Development: Lightswitch vs. Dynamics CRM vs. SharePoint 2010 vs. ASP.NET MVC 3
- ASP.NET MVC Code and Slides for Best of Mix 09 Presentation
- asp.net mvc+asp.net webform: a way of RIA + RAD
- mvcframeworkProgramming ASP.NET MVC-Fundamentals of ASP.NET MVC(四)Controller
- ASP.NET MVC Code and Slides for Best of Mix 09 Presentation
- Front-line of Front-end, Rational Front-end Performance Tuning in ASP.NET MVC, I
- ASP.NET MVC Html.TextBox 报 Object reference not set to an instance of an object 的解决方案
- 在ASP.NET MVC中使用测试驱动开发 Test Driven Development with ASP.Net MVC (Part 1)
- the schema version of 'microsoft.aspnet.mvc' is incompatible with version of nuget
- Odd Things of ASP.NET MVC Deployment on IIS 6
- The Three Models of ASP.NET MVC Apps