2)依赖注入原则(Dependence Injection) 在Flex Viewer 中使用了DI原则。通过使用配置文件的方式将对界面的构建,服务的调用推迟到运行时,而不是在编译时就固定好。
基于28个网页-相关网页
By supporting the XML configuration, it could greatly improve the scalability of the code and avoid the unnecessary dependence injection.
通过对XML的支持,可以极大的改善代码的扩展性,避免了代码中不必要的依赖注入。
参考来源 - 支持XML配置的IoC微容器设计·2,447,543篇论文数据,部分数据来源于NoteExpress
应用推荐