依赖和耦合(dependency and coupling) Rose中定义“依赖”:依赖描述了两个模型元素之间的关系。如果被依赖的模型元素发生变化就会影响到另一个模型元素。
基于24个网页-相关网页
但是,这一决定将导致对供应商代码的直接依赖和耦合。
This decision, however, would lead to a direct dependency and coupling to the vendor's code.
这建立起服务消费者和提供者之间的依赖关系,并且在系统中建立耦合。
This establishes the dependencies between the service consumers and providers and establishes the coupling in the system.
依赖注入让您将应用程序的主要层次编织到一起,从而,这使您产生一个具有视图、模型和控制器层的松散耦合应用程序。
Dependency injection lets you weave together the main layers of your application, which, in turn, lets you produce a loosely coupled application with view, model, and controller layers.
应用推荐