The main benefit for PureMVC users is a consequence of using the dependency injection pattern when dealing with dependencies.
对于PureMVC用户来说,主要的好处是当遇到依赖时可以使用依赖注入。 同时这也是最大的缺点,因为DI的使用不可避免地会改变一些原始的PureMVC使用习惯,而这些习惯是基于服务定位器模式的。
Dependency Injection is a software pattern that is usually implemented through the use of frameworks like Spring.
依赖注入是通过使用像Spring这样的框架来执行的软件模式。
The architecture of the Spring framework is based upon the Dependency Injection (DI) design pattern.
Spring框架的体系基于依赖注入(DI)设计模式。
Seam wires POJO components together using a popular design pattern known as "dependency injection" (DI).
Seam通过使用一个流行的、被称作依赖注入(DI)的设计模式联结所有POJO组件。
The Spring Framework was developed by Interface21, based on publications by Rod Johnson on the dependency injection design pattern.
SpringFramework由Interface21根据RodJohnson发表的关于依赖项注入设计模式的出版物开发而成。
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.
控制反转模式(也称作依赖性介入)的基本概念是:不创建对象,但是描述创建它们的方式。
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.
5 - 6章还探究了一些常见问题例如静态单例反模式以及使用依赖注入的解决方案,并调查了web应用和其它应用的范围。
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.
依赖注入既是设计模式,同时又是一种机制:当应用程序的一些部件需要另一些部件时,利用依赖注入来创建被请求的部件,并将它们注入到发出请求的部件中。
应用推荐