One of the earlier design decisions we have encountered in the initial model is whether it is better to swap the positioning of the industry layer and the business domain layer.
我们在初始模型中遇到的较早设计决策之一是将行业层和业务领域层交换一下位置是否会更好。
The presentation layer can call the validation logic on the data provided by a form before passing it to the domain model.
展示层可以调用验证逻辑对表单提供的数据进行验证,然后再将该数据传递给域模型。
The Naked Objects pattern encourages the developer to focus on supplying a rich domain model with both data and behaviour, and supplies a view layer and a thin controller layer automatically.
Naked Objects模式鼓励开发者关注于设计带有数据和行为的富领域模型,而它则自动提供一个展现层和一个瘦控制层。
应用推荐