IOC容器和DI模式.Martin Fowler

时间:2021-06-13 03:29:42
【文件属性】:
文件名称:IOC容器和DI模式.Martin Fowler
文件大小:48KB
文件格式:ZIP
更新时间:2021-06-13 03:29:42
IOC DI 依赖注入 控制反转 MartinFowler Martin Fowler的Inversion of Control Containers and the Dependency Injection pattern。中文版。 本文中,作者深入探索IOC模式的工作原理,给它一个更能描述其特点的名字——“依赖注入”(Dependency Injection),并将其与“服务定位器”(Service Locator)模式作一个比较。不过,这两者之间的差异并不太重要,更重要的是:应该将组件的配置与使用分离开——两个模式的目标都是这个。
【文件预览】:
(CHS)Inversion of Control Containers and the Dependency Injection pattern.doc

网友评论