You can achieve some code separation if you represent the concrete Customer Persistence class as an interface instead.
如果换用接口来表示Customerpersistence类,可以实现一些代码分离。
This paper solves the question of code mixed through introducing and analyzing three methods about code separation technique.
通过代码分离技术三种方法的介绍和比较,解决了现存的代码混乱问题。
Dead Code Separation - Code that is not called during profiling is moved to a special section that is appended to the end of the set of sections.
无作用程序码分隔:将分析作业期间未呼叫的程序码移入附加至区段集结尾的特殊区段中。
Typically, you will use the separation of concerns principle when you plan how you will divide and structure your test code for application-under-test features and behaviors.
通常,在您计划如何为被测试应用的特性和行为进行分离和组织测试代码时,您将会使用关注分离这个基本原理。
This method gives you some degree of separation between a file format library and your application code.
这种方法提供了文件格式库和应用程序代码之间某种程度上的分离。
The benefits to this type of design should be obvious, and follow along the lines of separation of roles, reuse of code, and so on.
这种类型的设计的好处是很明显的。同样,遵循角色分离、代码重用等也是非常有益的。
Separation of concerns is fundamental to well-structured code, because it encapsulates responsibilities and dependencies.
关注点分离是实现具有良好结构的代码的基础,它封装了责任和依赖关系。
Figure 1 illustrates the separation of concerns concept by showing the flow of code between the development workstation to final production.
图1显示了开发工作站和最终生产环境之间的代码流,我们以此来说明关注点分离的概念。
This separation let the same code be reused by many applications and allowed a certain amount of decoupling between the applications by moving away from point-to-point integration.
此分离允许多个应用程序重用同一代码,并通过从点到点的集成中移去应用程序,使这些应用程序之间能够进行一定程度的分离。
Because of this separation between the appcode and my computer’s code, web apps can’t interfere with other tasks on mycomputer or the overall performance of my machine.
因为网页应用的代码和本地计算机的代码是分离的,所以网页应用程序不会干扰计算机上其他任务的运行。
By the phrase separation of concerns we mean the use of different environments to control the flow of code and other files that make up a deployment release.
我们所指的关注点分离阶段是指使用不同的环境控制组成部署发布版本的代码流和其他文件。
Its primary goal is to provide a simple model for building enterprise integration solutions while maintaining the separation of concerns that is essential for producing maintainable, testable code.
其主要目标是在保持关注点分离的同时,为构建企业集成解决方案提供一个简单的模型,该模型对产出可维护、可测试的代码来说是必不可少的。
In addition, mapping files make for a cleaner separation between business logic and persistence code.
另外,映射文件能够很清晰的将业务逻辑和持久化代码分开。
Clean separation of front ends, like JAX-WS, from the core code.
从核心代码干净地分离前端,如JAX - WS。
Separation of concerns refers to extracting the code into various layers
关注点分离指把代码提取到不同的层
Separation of the business rules from the technical code into a centralized rules repository.
分离业务规则和技术代码,将业务规则放入一个中央规则存储库中。
You have a clean layer separation and the entities should know nothing about the UI? Well, put your code right into the data class will spoil that.
你有了一个清晰的层的分离,那么实体就应该对UI一无所知吗?
To maintain this separation, arrays are passed as opaque handles, and native code must call back to the JVM in order to manipulate array elements using set and get calls.
为了维持这种分离,数组将作为不透明的句柄传递,并且本机代码必须回调J VM以便使用set和get调用操作数组元素。
The framework enforces the separation of UI modules from the test code, allowing easy refactoring.
框架实行UImodule和测试代码的分离,从而有利于重构。
Reduce the complexity of GUI code by allowing for a clear separation of presentation logic and interaction logic
通过明确分离表示逻辑和交互逻辑降低GUI代码的复杂度
Having a secondary Ajax controller (such as a servlet or Web service) forces a stronger separation of your model code.
使用二级ajax控制器(如servlet或Web服务)可以进行更强大的模型代码分离。
But unlike asp files, VB.NET offers a much cleaner separation between HTML and code.
不过与asp文件不同的是,VB.NET能够更清晰地分离HTML和代码。
While the separation of code and XML is nice, it can lead to several undesirable situations.
尽管XML代码的部分比较优美,但是它可能会导致意想不到的结果。
The core of resource oriented computing is the separation of logical requests for information (resources) from the physical mechanism (code) which delivers it.
面向资源计算的核心是将信息(资源)的逻辑请求与传递请求的物理机制(代码)相分离。
The core of resource-oriented computing is the separation of logical requests for information (resources) from the physical mechanism (code) which delivers the requests.
面向资源计算的核心是将信息(资源)的逻辑请求从发送请求的物理机制(代码)中分离出来。
A considerable benefit of this approach is the distinct separation of application code and the rules (and quirks) of orthographies.
这种方法很大的一个优点是可以将拼字法的规则与应用程序代码清楚地区分开来。
This way, you have a nice separation between your code and the generated binaries.
这样可以很好地把代码与生成的二进制文件分开。
The code that handles the UI and the business is all mixed together, without any separation of concerns at all.
处理UI以及业务的代码全部混在一起,根本没有任何关系分离。
source tree organization Everything in one folder Basic separation of code into logical folders.
源码树组织一切都放在一个文件夹内初步地将代码分散进对应逻辑的文件夹。
source tree organization Everything in one folder Basic separation of code into logical folders.
源码树组织一切都放在一个文件夹内初步地将代码分散进对应逻辑的文件夹。
应用推荐