Testability patterns: Inversion of Control, Separated Presentation
可测试模式:控制反转、分离表现
IOC (inversion of control) is a key strategy for reducing coupling.
IOC(控制反转)是减少耦合度的主要策略。
You hear both Inversion of Control and dependency injection used almost interchangeably.
您听说过控制反转和依赖注入几乎可以互换使用。
Resource injection, also known as dependency injection, is a specific form of inversion of control.
资源注入,也叫做关系注入,是控制转化的一种特定形式。
It USES Inversion of Control (IoC) to externalize the creation and management of component dependencies.
它使用Inversion of Control (IoC)具体化组件依赖关系的创建和管理。
The centralization of workflow logic into the abstract superclass is an example of inversion of control.
使工作流的逻辑集中到抽象类是控制反转的例子。
The Seam framework far outclasses JSF's basic inversion of control (IOC) container in terms of functionality.
在功能方面,Seam框架远胜于JSF的基本控制反转 (IOC)容器。
Inversion of Control (IoC) and Dependency Injection (DI) are patterns that draw a lot of attention (see Resources).
控制反转(IoC)和依赖项注入(DI)是两种引起极大关注的模式(参见参考资料)。
What really makes the architecture special is its heavy internal use of a concept called Inversion of Control (IOC).
真正使 Geronimo 的体系结构与众不同的是,其在内部使用了大量的称为控制反转(Inversion of Control,IOC)的概念。
These types of frameworks are usually referred to as dependency injection or Inversion of Control (IoC) architectures.
这种类型的框架通常称为依赖注入或者Inversion of Control (IoC)架构。
This is an example of using the Inversion of Control (IOC) pattern for configuration and is a natural fit with aspects.
这是一个使用反转控制(IOC)模式进行配置的示例,因此很自然地适合方面。
Castle started as home for the Inversion of Control container I had in my mind for like an year, between 2003 and 2004.
Castle首先以控制反转(IoC)容器开始的,我大概记得好像在2003年到2004之间。
Geronimo is based on an architecture that USES Inversion of Control (IoC) techniques to decouple components and services.
Geronimo基于使用控制反转(Inversion of Control,IoC)技术将组件与服务解耦的架构。
This has changed with.net 3.0, where dependency injection and inversion of control containers are specifically called for.
这种情况到了。NET 3.0有所改变,依赖注入与控制反转都是一种特定的要求。
NET MVC framework also supports the use of Dependency Injection (DI) and Inversion of Control (IOC) container models.
NETMVC框架还支持使用依赖项注入(DI)和控制反转(IOC)容器模型。
A inversion of control technique is used to give the benefit of loose coupling and higher extensibility in application.
通过控制反转技术,降低了组件之间的耦合,使框架更加易于扩展,在实际应用中取得了良好的效果。
The latter is an implementation of the well-known inversion of control (IOC) pattern and can be used to tie in delegate objects.
后者是著名的控制反转(inversion of control,IOC)模式的一种实现,可用于连接委托对象。
The Apache Geronimo project provides a model for this technique with its support for dependency injection and inversion of control.
ApacheGeronimo项目通过依赖关系注入和反向控制的支持,为这种技术提供了一种模型。
Dependency Inversion or Inversion of Control are better know terms referring to the way in which the dependencies are realized.
依赖倒置或者倒置控制,在依赖关系实现方式里面更加知名。
Ds components needs no OSGi interfaces, and as such, can be mocked for testing or used in other inversion of control patterns like Spring.
DS组件不需要OSGi接口,这样,它可以在其他控制反转模式(如spring)里被模拟来测试或使用。
Geronimo is designed around an architecture that USES Inversion of Control (IoC) techniques to decouple services and components to a high degree.
Geronimo是围绕使用反转控制(Inversion of Control,IoC)技术高度解耦服务和组件的架构设计的。
Factories and Abstract Factories can be used as dependency frameworks, but there are specialized frameworks for that, known as Inversion of Control Container.
工厂类和抽象工厂类能够被用做依赖框架,但是已经有了专门的框架,被称为反转控制容器。
In this two-part article series, I discuss the concepts of di (also known as Inversion of Control, or IoC), then demonstrate how it's implemented in Apache Geronimo.
在这个由两部分构成的系列中,我讨论了DI的概念(也叫做控制反转或IoC),然后演示它在ApacheGeronimo中的实现方式。
In the previous installment of this series, I introduced the seven modules of the Spring framework, including Spring AOP and the inversion of control (IOC) container.
在这个系列的前一期中,我介绍了Spring框架的7个模块,包括SpringAOP和控制反转(IOC)容器。
So how does inversion of control relate to dependency injection? At first glance the concepts above and my examples in the previous article have little in common.
反转控制和依赖注入有怎样联系的呢?我之前的文章对他两的解释有些相同点。
The BeanFactory applies the Inversion of Control (IOC) pattern to separate an application's configuration and dependency specification from the actual application code.
BeanFactory 使用控制反转 (IOC)模式将应用程序的配置和依赖性规范与实际的应用程序代码分开。
Writing your software with inversion of control in mind also makes unit testing much, much easier, because you can swap out real implementations for mocks in your tests.
在内心建立用控制反转编写软件的思想,会使得进行单元测试更加容易,因为你可以替换真实实现而在测试中进行模拟。
The basic concept of the Inversion of Control pattern (also known as dependency injection) is that you do not create your objects but describe how they should be created.
控制反转模式(也称作依赖性介入)的基本概念是:不创建对象,但是描述创建它们的方式。
The basic concept of the Inversion of Control pattern (also known as dependency injection) is that you do not create your objects but describe how they should be created.
控制反转模式(也称作依赖性介入)的基本概念是:不创建对象,但是描述创建它们的方式。
应用推荐