您的位置:首页 > 编程语言 > ASP

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.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: