r*******n 发帖数: 3020 | 1 我用过python 的webframe Django 也玩儿过Ruby on Rails不是很喜欢
那种Magic风格;还是Django什么东西都放到明处,感觉有底。
asp的那种风格跟Django类似? | G***o 发帖数: 5158 | 2 http://weblogs.asp.net/shijuvarghese/archive/2008/07/09/asp-net
http://msdn.microsoft.com/en-us/library/dd381619.aspx
Strengths of ASP.NET Web Forms
The following list describes the strengths of the ASP.NET Web Forms model
for building Web applications.
Event model. Web Forms supports an event-driven programming style that
is like Windows applications. Many events are available, and they are
supported by hundreds of server controls.
State management. Web Forms reduces the complexity of managing state by
using view state and server-based controls.
Page-based architecture. Web Forms provides an architecture that
combines a page with declarative markup (an .aspx file) with a code-behind
file that adds functionality. This structure can make it easy to create
pages that implement common tasks, such as responding to user gestures and
rendering markup from server code.
Rich set of controls. The ASP.NET community has made available hundreds
of server controls and components that reduce development time.
Strengths of ASP.NET MVC
The following list describes the strengths of the ASP.NET MVC model for
building Web applications.
Separation of concerns. ASP.NET MVC enforces a "separation of concerns",
in which the application is divided into discrete and loosely-bound parts—
namely, the model, view, and controller parts of the application. This makes
MVC applications easier to test and maintain.
More control of rendered HTML. MVC significantly increases your control
over rendered HTML.
Test-driven development. MVC was designed to make test-driven
development easier. You can create an MVC project and its test project at
the same time. You can then create unit tests for each action method in your
application, and run them without invoking the complete request cycle for a
Web application.
【在 r*******n 的大作中提到】 : 我用过python 的webframe Django 也玩儿过Ruby on Rails不是很喜欢 : 那种Magic风格;还是Django什么东西都放到明处,感觉有底。 : asp的那种风格跟Django类似?
| p*********t 发帖数: 2690 | 3 asp.net c#编程,要用到viewState,session之类的,还有property之类的,和别的语
言还是有差别的。
【在 r*******n 的大作中提到】 : 我用过python 的webframe Django 也玩儿过Ruby on Rails不是很喜欢 : 那种Magic风格;还是Django什么东西都放到明处,感觉有底。 : asp的那种风格跟Django类似?
| H*******g 发帖数: 6997 | 4 viewState不属于MVC
【在 p*********t 的大作中提到】 : asp.net c#编程,要用到viewState,session之类的,还有property之类的,和别的语 : 言还是有差别的。
|
|