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.
我们在初始模型中遇到的较早设计决策之一是将行业层和业务领域层交换一下位置是否会更好。
Because the only layer containing transaction logic is the API layer, I will only show the transaction logic in that layer's domain-model classes.
因为包含事务逻辑的惟一的一个层是api层,我将只展示该层的域模型类中的事务逻辑。
Because the UI is unique to the iPhone you need to separate out the visual layer from the domain model, basic MVC logic.
由于UI在iPhone的唯一性,所以需要将可视层与领域模型剥离开来,这也是基本的MVC逻辑。
In the domain of J2EE Web applications, the model is the business logic of an application, and the JSP pages comprising the presentation layer are the view.
在J2EEWeb应用程序领域中,模式是应用程序的业务逻辑,视图是包含表示层的JSP页面。
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.
NakedObjects模式鼓励开发者关注于设计带有数据和行为的富领域模型,而它则自动提供一个展现层和一个瘦控制层。
Because database tables by themselves do not have behavior, it's tempting to put the behavior of domain-model entities in services or the view layer.
因为数据库表本身没有行为,开发人员常常把领域模型实体的行为放在服务或视图层中。
Model your API after a service, or domain model; expose methods and properties as resources of your API layer.
你的API服务模式后,或域模型;暴露的方法和属性作为您的API层资源。
The goal of this paper is to implement code generation tool for data access layer based on domain model.
本文的研究目标是实现一个基于领域模型的数据访问层的代码生成工具。
A layer of DTOs isolates the domain model from the presentation, resulting in both loose coupling and optimized data transfer.
DTO的分层是孤立于表现层和领域模型的一个层上,导致二者的松耦合,优化了数据传递。
A layer of DTOs isolates the domain model from the presentation, resulting in both loose coupling and optimized data transfer.
DTO的分层是孤立于表现层和领域模型的一个层上,导致二者的松耦合,优化了数据传递。
应用推荐