Controllers and Views 控制器和视图
This decoupling makes it easier to test your views and controllers.
这种解耦使得视图和控制器更易于测试。
Because of this separation, multiple views and controllers can work with the same model.
通过这种分离方式,多个视图以及控制器就可以同时与一个模型一起工作了。
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创建的很好(与视图层或控制器层没有关系),它甚至可以被用在不同种类的视图层和控制器层。
应用推荐