每个模型都还需要一个良好的控制器和一些视图(我假设您熟悉Model - View - Controller模式;请参阅参考资料)。
Every model needs a good controller and some views to even things out. (I'm assuming you're familiar with the Model-View-Controller pattern; see Resources.)
这个方法违反了JSF的模型-视图-控制器(MVC)架构(请参阅参考资料),MVC架构要求使用模型bean保存应用程序数据。
The approach violates JSF's Model-View-Controller (MVC) architecture (see Resources), which requires the use of model beans to hold application data.
模型-视图-控制器:Rails的MVC框架(称为Action Pack)为基于Web的访问进行了定制并且实现了著名的被称为Model 2(参见参考资料)的设计策略。
Model-view-controller: The Rails MVC framework — called Action Pack — is customized for Web-based access and implements a well-known design strategy called Model 2 (see Resources).
应用推荐