Asp.Net MVC framework And Asp.Net Webform
2009-10-22 16:27
459 查看
The ASP.NET MVC framework offers the following advantages:Complexity of application logic is made easier to manage because of theseparation of an application into model, view, and controller.It allows for easier parallel development; each developer can work on aseparate component of the MVC pattern.It provides good support for TDD, mocking, and unit testing frameworks.TDD enables you to write tests for an application first, after which theapplication logic is developed. TDD, mocking, and unit testing are explainedin Chapter 9, Testing an Application.It does not use ViewState or server-based forms, which allows you to havefull control over the application's behavior and HTML markup.It uses RESTful interfaces for URLs, which is better for SEO (Search EngineOptimization). REST is short for REpresentational State Transfer—theconcept of using URLs as the link to a resource, which can be a controlleraction method, rather than to physical files on the web server.A typical page size is small, because no unnecessary data is transferred in theform of hidden ViewState data.It integrates easily with client-side JavaScript frameworks such as jQueryor ExtJS.ASP.NET Webforms offers the following advantages:It offers an event model over HTTP that is familiar to any developer. Thisevent model also benefits the creation of business web applications.It provides a lot of controls that are familiar to any developer—datacomponents such as data grids and lists, validation controls, and so on.These components are highly integrated in the development environment.There are numerous third-party control vendors that can deliver almost anypossible control.Being familiar to developers allows ASP.NET Webforms to facilitate rapidapplication development.Functionality is concentrated per page. It uses ViewState and server-basedforms, which makes state management easier.
相关文章推荐
- ASP.NET WebForm and ASP.NET MVC
- 【引】Difference between Asp.Net WebForm and Asp.Net MVC
- ASP.NET MVC with Entity Framework and CSS一书翻译系列文章之第一章:创建基本的MVC Web站点
- 【小技巧】自定义asp.net mvc的WebFormViewEngine修改默认的目录结构
- Sorting, Filtering, and Paging with the Entity Framework in an ASP.NET MVC Application
- 团子WebApi相较于Asp.Net MVC/WebForm开发的特点
- ASP.NET MVC with Entity Framework and CSS一书翻译系列文章之第六章:管理产品图片——多对多关系(上篇)
- ASP.NET MVC Preview 5 and Form Posting Scenarios
- ASP.NET WebForm / MVC 源码分析
- How to pass javascript complex object to ASP.NET Web Api and MVC
- ASP.NET Portal Framework and Web Parts
- 热门的技术教程!ASP.NET MVC, JQuery, ASP.NET AJAX and ADO.NET Entity Framework
- asp.net webform/mvc导出Excel通用代码
- (转)ASP.NET MVC Preview 5 and Form Posting Scenarios
- ASP.NET MVC vs webform
- ASP.NET MVC with Entity Framework and CSS一书翻译系列文章之第六章:管理产品图片——多对多关系(上篇)
- 一个小Forum Web程序示例,ASP.NET MVC Framework,TDD简介(Part 2)
- Server-Side Paging with the Entity Framework and ASP.NET MVC 3
- Mixing ASP.NET MVC and Webforms
- ASP.NET MVC Example with Northwind and Entity Framework Published