The domain logic, or business logic, is the remaining piece.
领域逻辑,或者叫业务逻辑,这是留下来让你填写的地方。
Testing also becomes easier when you separate presentation and domain logic.
分离了表示层和业务逻辑的程序也很容易被测试。
This technique makes it easier to stimulate edge cases in your domain logic.
这项技术使得在域逻辑中产生边缘用例更容易了。
ActionControllers are also a logical place to group all processing of specific domain logic.
ActionController还是一个将特定域逻辑的所有处理组合在一起的合理场所。
In the March preview, we are offering a asp: DomainDataSource control that enables very easy ASP.NET WebForms access to your domain logic.
在3月预览版中,我们就提供了asp:DomainDataSource控件,来使asp.netWebForms非常容易地访问你的域逻辑。
These patterns address presentation, mapping to relational data stores, domain logic, application state management, and common application functions.
这些模式讨论表示、到关系数据存储的映射、域逻辑、应用程序状态管理和创建的应用程序功能。
Building on top of that is a future version of ASP.NET Dynamic Data that makes it very easy to generate common, standard UI based on your domain logic.
未来版本的ASP.NETDynamicData会构建于它之上,这样可以更容易地基于你的域逻辑生成通用的、标准的UI。
NET DataServices… this means that you will be able to just “Add Web Reference” to your domain logic and get the standard REST and JSON based access that ADO. NET DataServcies offers.
这意味着,你将可以通过“AddWebReference”把RIAServices添加到你的域逻辑中,以获得ADO.NET Data Services提供的基于REST和JSON的标准数据访问能力。
It seeks to modularize these concerns, yet enable the fine-grained "mixing" of their behaviors with other concerns, including the core domain logic of the application, either at build or run time.
它设法模块化这些关键点,但是也允许设计良好的和其它关键点行为的“混合”,包括应用程序的核心域逻辑,不管是在编译时还是运行时。
Move logic into domain classes or services.
把逻辑移到领域类或服务中。
In this model, we map our visual (graph) model to our business logic (domain model).
在此模型中,我们将可视化(图形)模型映射到业务逻辑(域模型)中。
The domain offers retrieval and maintenance services for the business object, encapsulating business logic, location, and the format associated with its objects and services.
域为业务对象提供服务检索和维护、封装业务逻辑、定位以及与对象和服务相关联的格式。
For more advanced users, who understand a little logic and how test scenarios should be created, they can use the editor to construct tests using a functional testing DSL (domain specific language).
对于更高级的用户,他们懂一点逻辑,懂得如何创建测试场景,可以使用编辑器和功能测试的领域特定语言去构造测试。
This article focuses on one of many important principles in this domain: bring the data as close to the business logic as possible.
这个领域中有许多重要的原则,本文重点关注其中之一:使数据尽可能地接近业务逻辑。
Lightweight design patterns let you loosen coupling between objects and integrate services without forcing code into business logic or the domain model.
轻量级设计模式使您可以在对象和集成服务之间进行松散耦合,而无需艰苦地编写业务逻辑或领域模型。
Please note that the logic applied here depends on the structure of the domain model, and as the level and number of attributes increase, the complexity of conversion increases in the action class.
注意,这里适用的逻辑取决于域模型的结构,随着属性的级别和数量增加,操作类中的转换的复杂性也相应增加。
A domain validator contains logic that verifies that units are used properly in a topology.
一个域确认器包含了证实该单元在拓扑中适当应用的逻辑。
Apply domain specific merge logic.
应用特定于域的合并逻辑。
The domain validator can also include global validation logic for the entire domain.
域确认器还包含了整个域的全局确认逻辑。
One of the main reasons for this is that generic tools cannot identify domain-specific problems that relate to business logic or to specific guidelines that are relevant only within the organization.
这样做一个很主要的原因在于,该通用工具尽管功能强大,但是还不能识别与业务逻辑相关的特定域问题,以及只与公司内部相关的特定指导原则。
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逻辑。
This approach perfectly epitomizes the DRY (Don't Repeat Yourself) principle, since the persistence logic is implemented once and mixed in domain classes as many times as needed.
这种方式完美地诠释了DRY (DontRepeat Yourself)准则,因为持久化逻辑只实现一次,在需要的时候可以多次混合到领域类中。
During product discovery, they will use these people to gain deeper insight into the market, the users, the domain and especially the necessary business logic.
在产品发掘阶段(productdiscovery),产品经理需要这些专家来深入了解市场、了解用户、了解这个领域、尤其是了解这个产品是不是符合商业逻辑。
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 constraints are defined in the bean (domain object) so the validation logic is close to the domain model.
约束是定义在一个bean(领域对象)中的,因此校验逻辑离领域模型最近。
A better way is to place the validation logic in the domain validator class of the Mysql domain (MysqlDomainValidator).
更好的方法是将确认逻辑置于My sq l域MysqlDomainValidator的域确认器类。
Anemic domain model: The use of domain model without any business logic which is not OOP because each object should have both attributes and behaviors.
域模型的时候没有加入非oop的业务逻辑。
Anemic domain model: The use of domain model without any business logic which is not OOP because each object should have both attributes and behaviors.
域模型的时候没有加入非oop的业务逻辑。
应用推荐