最后,它将XML和关系模式分离——即当只改变XML结构时不需要对所有内容进行回归测试。
Finally, it keeps XML and relational schemas separate — there's no need to regression test everything when you've only changed the XML structure.
它允许您将客户端和服务提供程序之间的交互所使用的调用模式与组件测试所使用的仅同步调用模式分离开。
It lets you decouple the invocation pattern used by the interaction between client and service provider from the sync-only invocation pattern used by component test.
当您选择包括了这些资源的分离的模式时,您可以根据自己的需要将它们部署在同一计算机上或不同的计算机上。
When you select a pattern that includes a separation of these resources, you are free to deploy them on the same machine or on different machines.
我经常使用这种模式,并发现借助它可以更好地分离组件之间的关注点。
I use this pattern frequently and find that it helps me better separate the concerns between the components.
您很可能也知道这种分离的根源要追溯到最早的设计模式之一:模型-视图-控制器。
You probably also know that the roots of this separation go back to one of the earliest design patterns: Model-View-Controller.
此分离为各种命令执行环境中的命令用户和命令提供程序提供了一致的编程模式。
This separation provides a consistent programming model for both command users and command providers across various command execution environments.
此框架使用的是 MVC设计模式,其最主要的目的是分离一个软件应用程序的数据层和表示层。
The framework uses the MVC design pattern, the primary goal of which is to separate the data and presentation layers of a software application.
访问者模式往往用于将数据结构(本例中是树)与通过数据结构操作的算法分离开来。
The Visitor pattern is often used to separate a data structure (the tree, in this case) from the algorithms that operate over the data structure.
你可以创建一个仅仅包含视图的单独的脚本,而与组件的交互或者绑定都在主类中,在MVC模式中可以更清晰的分离视图与逻辑部分。
You can create a separate script which only contains the view, while the interactions or bindings between components are in the main class, making a clearer separation in the MVC model.
他们不希望当有需求要分离外化的信息及其内部状态的时候,项目组尝试着去估计应用哪一种模式最好。
They don't want their teams trying to figure out what pattern is best to use when there is a need to separate externalized information from its internal state.
通过分离显示数据、持久化数据和处理用户交互的职责,MVC模式有助于创建易于理解的代码。
By separating the responsibilities of displaying data, persisting data, and handling user interaction, the MVC pattern tends to create code that is easily understood.
MVC模式天生就是可测试的,而且鼓励对关注点的分离。
By nature, the MVC pattern is highly testable and encourages good separation of concerns.
在这个过程中,我将讨论远程访问模式和分离相关因素以及高速缓存,最后就如何进行好的分布式应用程序设计提供适当的指导。
In this process I will discuss remote access patterns versus separation of concerns and caching, and finally describe some proper guidelines for good distributed application design.
这将很可能涉及到将现有模式作为候选解决方案来提供恰当的分离。
This will most likely involve an existing pattern as a candidate solution to provide the appropriate decoupling.
MVC模式(自1979年以来)已经出现很长时间了,它皆在分离显示用户界面所需的大量任务,并处理用户交互。
The MVC pattern has been around for a long time (since 1979) and it is intended to separate the burden of tasks necessary to display a user interface, and handle user interaction.
因此,我将根据组合方法模式重构这个方法,看看是否可以分离出原子性部分。
So I'll refactor this method, with composed method in mind, to see if I can isolate the atomic parts.
考虑模式方面的工具提供情况,我们将模式规范和模式实现的概念分离开来。
With an eye towards tooling patterns we have separated the notion of pattern specification and pattern implementation.
这些模式的组合可以提供一致、分离的方法,用来访问执行上下文细节。
The combination of these patterns provided coherent, decoupled access to execution context details.
服务功能(业务逻辑)和企业数据支持逻辑的实现在关系上的明确分离(和上一个模式相似)。
Explicit separation of concerns between implementation of the service functionality (business logic) and enterprise data support logic (similar to the previous pattern).
由于数据量很大,此原子站点分离(混合数据库模式的填充)需要具有很高的性能。
Due to high data volume, the atom site separation (the population of the hybrid database schema) needs to have high performance.
他认为将酒店的运营管理和拥有权分离有其合理依据,因为在轻资产模式下,企业的运营成本更具弹性,因此也有更多的空间来提高效率,增加收益。
He therefore sees the rationale for separating ownership and management, since asset-light firms, having more variable costs, have more scope for efficiency gains.
可测试模式:控制反转、分离表现
Testability patterns: Inversion of Control, Separated Presentation
由于Spring和Geronimo都采用IoC作为核心设计模式,所以现在有可能实现这种程度的配置分离。
Because Spring and Geronimo both use IoC as their core pattern of design, this level of configuration separation is now possible.
您还了解了如何使用关注点分离和最佳重用的设计模式构造Web应用程序。
You have also seen how to construct the Web application using design patterns for separation of concerns and better reuse.
MVC模式:分离开发角色。
DisposableContainer模式基于两个原则:完全移除所有容器组件,以及将容器的安装与配置分离。
The Disposable container pattern is based on two principles: completely remove all container components and separate the container installation from its configuration.
不管您如何选择,请确保您的模型和视图之间实现了完全的分离,从而避免最基本的服务器端反模式:魔法Servlet。
Whatever you decide, make sure that you achieve a clean separation between your model and view to stay out of the most fundamental server-side antipattern: the Magic Servlet.
此领域的模式的主要目标是将表示特定的方面从应用程序及业务逻辑分离出来。
The primary goal of patterns in this area is to separate the presentation-specific aspects from the application and business logic. Some examples include
然而,采用这种“访问-分离-修改-合并”编程模式的客户端-服务器交互必须满足一定的要求。
However, the access-detach-modify-merge programming model must satisfy certain prerequisites for client-server interaction.
第2部分介绍了利用ID - lists模式减少远程调用的数量,并且还遵守分离关注点模式。
Part 2 introduced the ID-lists pattern to reduce the number of remote calls and still obey the separation of concerns pattern.
应用推荐