Duplicating of data access logic between multiple services.
在多个服务间复制数据存取逻辑。
You can also test the data access logic without concern for the GUI.
我们还可以测试数据访问逻辑而无需关心gui。
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)混合。
This typically means that the authorization rules have to be embedded into the data access logic of the application itself.
这通常意味着必须将授权规则嵌入到应用程序本身的数据访问逻辑之中。
Thus, in addition to encapsulating data, it encapsulates data access logic.
因此,除了封装数据,也封装了数据访问逻辑。
The challenge is testing this business logic without testing 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来测试数据访问逻辑。
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.
一旦完成映射,您就可以将他们当成普通对象来处理,无需编写复杂的数据访问逻辑就可以轻松地将更改提交回数据库。
When data-access logic is pushed into the DBMS itself, the application development benefits can be wide ranging.
将数据访问逻辑推送到DBMS 中后,应用程序开发的好处可能非常多。
When data-access logic is pushed into the DBMS itself, the application development benefits can be wide ranging.
将数据访问逻辑推送到DBMS 中后,应用程序开发的好处可能非常多。
应用推荐