Asp.Net MVC framework And Asp.Net Webform
The ASP.NET MVC framework offers the following advantages:
Complexity of application logic is made easier to manage because of the
separation of an application into model, view, and controller.
It allows for easier parallel development; each developer can work on a
separate 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 the
application logic is developed. TDD, mocking, and unit testing are explained
in Chapter 9, Testing an Application.
It does not use ViewState or server-based forms, which allows you to have
full control over the application's behavior and HTML markup.
It uses RESTful interfaces for URLs, which is better for SEO (Search Engine
Optimization). REST is short for REpresentational State Transfer—the
concept of using URLs as the link to a resource, which can be a controller
action method, rather than to physical files on the web server.
A typical page size is small, because no unnecessary data is transferred in the
form of hidden ViewState data.
It integrates easily with client-side JavaScript frameworks such as jQuery
or ExtJS.
ASP.NET Webforms offers the following advantages:
It offers an event model over HTTP that is familiar to any developer. This
event model also benefits the creation of business web applications.
It provides a lot of controls that are familiar to any developer—data
components 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 any
possible control.
Being familiar to developers allows ASP.NET Webforms to facilitate rapid
application development.
Functionality is concentrated per page. It uses ViewState and server-based
forms, which makes state management easier.
posted on 2009-10-22 16:27 flyingchen 阅读(273) 评论(1) 编辑 收藏 举报