Skip to main content

2 docs tagged with "Dependency Pattern"

View all tags

IoC and DI

- IoC (Inversion of Control) 控制反转模式: 将组件间的依赖关系从程序内部提到外部来管理.

Mixin

将多个对象的属性混入同一个对象, 达到继承/扩展/组合的效果.