Duplicating of data access logic between multiple services.
在多个服务间复制数据存取逻辑。
You can also test the data access logic without concern for the GUI.
我们还可以测试数据访问逻辑而无需关心gui。
Thus, in addition to encapsulating data, it encapsulates data access logic.
因此,除了封装数据,也封装了数据访问逻辑。
The challenge is testing this business logic without testing the data access logic.
难点是对业务逻辑进行测试而无需涉及数据访问逻辑。
Personally I like the idea of keeping all the data access logic encapsulated in that class.
我个人倾向于将所有的数据访问逻辑封装到这个类中。
A simple program architecture would naturally mix the business logic with data access logic (like SQL).
简单的程序体系结构会自然地将业务逻辑和数据访问逻辑(如sql)混合。
NOTE: Ideally, you could separate the data access logic into its own deployment unit and keep the controller pure.
注意:理想情况下,可以将数据访问逻辑分隔到它自己的部署单元中并且保持控制器没有被混杂。
If you open up the code file, you will notice that we've done a great job separating types from data access logic.
如果您打开强类型DataSet的代码文件,您会注意到我们已经很好的将类型从数据访问逻辑分开。
This typically means that the authorization rules have to be embedded into the data access logic of the application itself.
这通常意味着必须将授权规则嵌入到应用程序本身的数据访问逻辑之中。
Repository. This is an intermediate object used to support interactions between business logic and the data access logic.
库。这是一个中间对象用来支持互动业务逻辑和数据存取逻辑。
Instead of testing your data access logic, you want to test all of the business logic that interacts with the data access logic.
实际上您是希望对业务逻辑而不是数据访问逻辑进行测试,这些业务逻辑与数据访问逻辑进行交互。
You'll need a live database properly seeded with lookup data to test the GUI and a properly working GUI to test the data access logic.
您将需要一个具有正确查找数据的活动数据库来测试GUI,和一个运行正常的GUI来测试数据访问逻辑。
Additionally, the presentation layer might communicate with the data access logic in the middle tier through a service such as a service.
此外,展示层可以透过服务(例如,服务)与中介层内的资料存取逻辑进行通讯。
Applying the data access Object (DAO) pattern throughout the applications enabled us to separate low-level data access logic from business logic.
在整个应用程序中使用数据访问对象(DAO)使我们可以将底层数据访问逻辑与业务逻辑分离开来。
The change to any of these parameters will only impact the data service code and will not force every single consumer to change their data access logic.
任何这些参数的变化都只会影响数据服务的代码,不会要求每个消费者改变其数据访问逻辑。
The presentation logic, business logic and data access logic were all clubbed together thus leading to fragile design which is hard to change without breaking.
表现逻辑、业务逻辑和数据访问逻辑掺杂在一起导致脆弱的设计,这样很难在不破坏原 有设计的基础上做出变动。
So, application flow control logic belongs in a controller and data access logic belongs in a repository. In that case, where do you put your validation logic?
现在我们的应用程序流控制逻辑从控制器开始,数据库访问逻辑由repository负责,现在我们要把验证逻辑放在哪里呢?
The data access logic is interwoven with application logic, which makes it hard to reuse the data access logic, as well as to keep track of it, and to modify it.
数据访问逻辑与应用程序逻辑相互交织,从而很难重用数据访问逻辑和跟踪该逻辑,以及修改该逻辑。
However, with the direct coupling approach, the data access logic is interwoven with the application logic, making it hard to reuse, keep track of, and to modify.
然而,对于直接耦合方法,数据访问逻辑与应用程序逻辑相互交织,从而很难重用、跟踪和修改数据访问逻辑。
Once the mapping is done, you can manipulate mapped objects as normal objects and easily submit changes back to relational database without writing complex data access logic.
一旦完成映射,您就可以将他们当成普通对象来处理,无需编写复杂的数据访问逻辑就可以轻松地将更改提交回数据库。
EJB: the EJB backend type is used to persist a CMP bean to a backend that provides an EJB facade, such as a stateless session bean that exposes methods that contain the desired data access logic.
EJB: ejb后端类型用于将CMPBean保存到EJBFacade,如公开包含所需数据访问逻辑的方法的无状态会话。
Service implementation has to support not only business functionality of the service, but also all of the data validation and access and coordination logic.
服务实现不得不除了支持服务的业务功能之外,还需要支持所有的数据验证、存取和协调逻辑。
The issue here is that existing applications effectively control enterprise data access through implementation of the data access and validation logic.
这儿的问题是现有应用通过实现数据存取和验证逻辑有效控制了企业数据的访问。
Logic and metadata used to define data access and aggregation can be reused across different projects.
用于定义数据访问和聚集的逻辑和元数据可以在不同的项目之间重用。
The next version should focus less on the data access and business logic tiers and more on the service interface.
下一版本应该把重点放在服务接口,而不是数据访问和业务逻辑层。
Logic on defining data access and aggregation can be reusable across different projects.
有关定义数据访问和聚合的逻辑可以在不同的项目中加以重用。
The power of this layer is in separating data access code from the business logic for disparate data store technologies.
该层的作用在于针对不同的数据存储技术,从业务逻辑中分离数据访问代码。
Decoupling the service definition from the business logic (controller) and from access to the data (entity) ensures that no business logic manifests itself in the entities.
将服务定义同业务逻辑(控制器)以及数据(实体)访问分离,可确保实体中不会透露任何业务逻辑。
The business logic, which, in most cases, involves access of data stores like relational databases.
即业务逻辑,(在许多情况下)包括对数据存储(比如关系数据库)的访问。
Logical tiers divide the conceptual architecture into components that play specific roles within the application, such as presentation, application logic, business processes, and data access.
逻辑层将概念体系结构划分为在应用程序内扮演特定角色的组件,如表示层、应用程序逻辑层、业务流程层和数据访问层。
应用推荐