This decoupling makes it easier to test your views and controllers.
这种解耦使得视图和控制器更易于测试。
If the facade is built well (with no dependencies on the view or controller), it can even be used for different kinds of views and controllers.
如果facade创建的很好(与视图层或控制器层没有关系),它甚至可以被用在不同种类的视图层和控制器层。
Everything else, including views and controllers, is just a means to interact with the domain model.
其它任何东西,包括视图和控制器都只是和这个域模型进行交互的一种手段。
Models don't deal with rendering UIs or processing requests—those are the responsibilities of views and controllers.
模型不涉及渲染UI或处理请求—那些是视图和控制器的责任。
As well as models, views, and controllers, MVC applications also use the ASP. NET routing system, which decides how URLs map to particular controllers and actions.
与模型、视图、控制器一样,MVC应用程序也使用ASP.NET的路由系统,它决定如何把URL映射到特定的控制器和动作。
As well as models, views, and controllers, MVC applications also use the ASP. NET routing system, which decides how URLs map to particular controllers and actions.
与模型、视图、控制器一样,MVC应用程序也使用ASP.NET的路由系统,它决定如何把URL映射到特定的控制器和动作。
应用推荐