I find the term Inversion of Control too all-encompassing.
我发现控制反转这个术语的包含面太广。
In my experience, once that "big refactoring" becomes as simple as implementing the new version and altering your bindings, the value of inversion of control starts to become more apparent.
以我的经验来看,一旦一次大的重构变得与实现新版本,以及修改绑定一样简单,那么控制反转的价值就变得更加明显了。
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 easiest way to understand inversion of control is to see it in action.
理解控制反转最简单的方式就是看它的实际应用。
This is an example of using the Inversion of Control (IOC) pattern for configuration and is a natural fit with aspects.
这是一个使用反转控制(IOC)模式进行配置的示例,因此很自然地适合方面。
This has changed with.net 3.0, where dependency injection and inversion of control containers are specifically called for.
这种情况到了。NET 3.0有所改变,依赖注入与控制反转都是一种特定的要求。
NK: inversion of control is a mindset, and dependency injection of any kind (with or without a framework) relies on your software being designed with the goals of inversion of control in mind.
NK:控制反转仅仅是一种思想,各种依赖注入(无论有无框架)都取决你设计的软件是否抱有控制反转的目的。
Learn about additional techniques, such as adding manageability and inversion of control, to provide complex and dynamic component relationships, helping both users and system administrators.
了解一些附加的技术,如添加可管理性和反向控制,以便提供复杂的和动态的组件关系,从而为用户和系统管理员提供帮助。
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.
控制反转模式(也称作依赖性介入)的基本概念是:不创建对象,但是描述创建它们的方式。
IOC (inversion of control) is a key strategy for reducing coupling.
IOC(控制反转)是减少耦合度的主要策略。
NK: Inversion of control is something that all of the developers on a project have to buy into and participate in to be successful — like I said, it's really a different mindset.
NK:只有项目中的所有开发人员都使用控制反转,并参与其中,才算得上是成功。正如我所说,这完全是心态问题。
Resource injection, also known as dependency injection, is a specific form of inversion of control.
资源注入,也叫做关系注入,是控制转化的一种特定形式。
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之间。
At his core, Swiz is a simple inversion of control framework.
Swiz的核心是个简单的控制反转框架。
The Apache Geronimo project provides a model for this technique with its support for dependency injection and inversion of control.
ApacheGeronimo项目通过依赖关系注入和反向控制的支持,为这种技术提供了一种模型。
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)里被模拟来测试或使用。
The Seam framework far outclasses JSF's basic inversion of control (IOC) container in terms of functionality.
在功能方面,Seam框架远胜于JSF的基本控制反转 (IOC)容器。
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)模式的一种实现,可用于连接委托对象。
It USES Inversion of Control (IoC) to externalize the creation and management of component dependencies.
它使用Inversion of Control (IoC)具体化组件依赖关系的创建和管理。
Inversion of Control (IoC) and Dependency Injection (DI) are patterns that draw a lot of attention (see Resources).
控制反转(IoC)和依赖项注入(DI)是两种引起极大关注的模式(参见参考资料)。
These types of frameworks are usually referred to as dependency injection or Inversion of Control (IoC) architectures.
这种类型的框架通常称为依赖注入或者Inversion of Control (IoC)架构。
Probably the first idea that comes into our minds is to use Spring Inversion of Control container for injecting components into particular web pages and try the built-in bean substitution mechanism.
你的第一反应也许是利用Spring的IoC容器把组件注入到特定的Web页面,尝试使用IoC容器内置的Bean替换机制。
You hear both Inversion of Control and dependency injection used almost interchangeably.
您听说过控制反转和依赖注入几乎可以互换使用。
Factories and Abstract Factories can be used as dependency frameworks, but there are specialized frameworks for that, known as Inversion of Control Container.
工厂类和抽象工厂类能够被用做依赖框架,但是已经有了专门的框架,被称为反转控制容器。
Dependency Inversion or Inversion of Control are better know terms referring to the way in which the dependencies are realized.
依赖倒置或者倒置控制,在依赖关系实现方式里面更加知名。
Spring can help you solve this problem by providing an Inversion of Control (IoC) infrastructure, allowing you to inject connection management implementation in dependant code.
Spring可以帮助您解决这个问题,它提供了反向控制(Inversion of Control,IoC)基础设施,允许在依赖代码中注入连接管理实现。
What really makes the architecture special is its heavy internal use of a concept called Inversion of Control (IOC).
真正使 Geronimo 的体系结构与众不同的是,其在内部使用了大量的称为控制反转(Inversion of Control,IOC)的概念。
The centralization of workflow logic into the abstract superclass is an example of inversion of control.
使工作流的逻辑集中到抽象类是控制反转的例子。
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中的实现方式。
The more of these inversion-of-control anti-patterns the software has, the more difficult it will be to reshape it to work with Ninject -- or any dependency injection technique, for that matter.
软件具有的控制反转反模式越多,那么使用Ninject对代码进行优化就越困难——应该说任何一种依赖注入技术对于这种情况都难以应对。
应用推荐