依赖注入是通过使用像Spring这样的框架来执行的软件模式。
Dependency Injection is a software pattern that is usually implemented through the use of frameworks like Spring.
Seam通过使用一个流行的、被称作依赖注入(DI)的设计模式联结所有POJO组件。
Seam wires POJO components together using a popular design pattern known as "dependency injection" (DI).
Spring框架的体系基于依赖注入(DI)设计模式。
The architecture of the Spring framework is based upon the Dependency Injection (DI) design pattern.
5 - 6章还探究了一些常见问题例如静态单例反模式以及使用依赖注入的解决方案,并调查了web应用和其它应用的范围。
They also explore problems with common idioms such as the static singleton anti-pattern and solutions using dependency injection, and examine scopes for web applications and other purposes.
对于PureMVC用户来说,主要的好处是当遇到依赖时可以使用依赖注入。 同时这也是最大的缺点,因为DI的使用不可避免地会改变一些原始的PureMVC使用习惯,而这些习惯是基于服务定位器模式的。
The main benefit for PureMVC users is a consequence of using the dependency injection pattern when dealing with dependencies.
使用引用模式,可以指定一组合法的可以注入的依赖项类型。
Using a reference pattern, you can specify a family of legal dependency types that can be injected.
在书中我探索了与依赖注入相关的以及可能用于通用应用架构的多种设计模式。
In the book I explore various design patterns that relate to DI and that may be used for application architecture in general.
你曾经看到过哪些人们误用依赖注入和依赖注入框架的方式(反模式)?
What are some of the worst ways you've seen people misusing DI and DI frameworks (anti-patterns)?
软件具有的控制反转反模式越多,那么使用Ninject对代码进行优化就越困难——应该说任何一种依赖注入技术对于这种情况都难以应对。
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.
控制反转(IoC)和依赖项注入(DI)是两种引起极大关注的模式(参见参考资料)。
Inversion of Control (IoC) and Dependency Injection (DI) are patterns that draw a lot of attention (see Resources).
InfoQ:在你的书中你列出了使用依赖注入的几种最佳实践和模式。
InfoQ: On your book you list several best practices and patterns for using DI.
SpringFramework由Interface21根据RodJohnson发表的关于依赖项注入设计模式的出版物开发而成。
The Spring Framework was developed by Interface21, based on publications by Rod Johnson on the dependency injection design pattern.
它使用了依赖注入技术以简化代码来实现Presentation -Model和Model - View - Presenter模式。
It USES dependency injection techniques to simplify the code necessary to implement the Presentation Model and Model-View-Presenter patterns.
依赖注入既是设计模式,同时又是一种机制:当应用程序的一些部件需要另一些部件时,利用依赖注入来创建被请求的部件,并将它们注入到发出请求的部件中。
Dependency injection is both a design pattern and a mechanism for creating and delivering parts of an application to other parts of an application that request them.
依赖注入既是设计模式,同时又是一种机制:当应用程序的一些部件需要另一些部件时,利用依赖注入来创建被请求的部件,并将它们注入到发出请求的部件中。
Dependency injection is both a design pattern and a mechanism for creating and delivering parts of an application to other parts of an application that request them.
应用推荐