首页 | 本学科首页   官方微博 | 高级检索  
     

Castle下IOC的原理与实现
引用本文:梁富有.Castle下IOC的原理与实现[J].数字社区&智能家居,2009,5(5):3428-3429.
作者姓名:梁富有
作者单位:东华理工大学信息工程学院,江西抚州344000
摘    要:在软件开发中,我们经常需要面对如何将程序元素组装成类聚的应用程序,如何有效地管理组件和组件间的相互调用装载.成为应用程序开发的重要任务,IOC(Inversion of Control,控制反转)框架的发展,满足了这个方面的需求。文中讨论了IOC模式的基本概论、控制反转(IOC)的基本原理、CastleIOC容器配置构建,重点介绍了IOC的分析与实现。

关 键 词:控制反转  依赖注入  框架

The Principle and Implementation for IOC in Castle
LIANG Fu-you.The Principle and Implementation for IOC in Castle[J].Digital Community & Smart Home,2009,5(5):3428-3429.
Authors:LIANG Fu-you
Affiliation:LIANG Fu-you (Department of Computer and Communication, East China Institute of Technology, Fuzhou 344000, China)
Abstract:In applications of Web , the developer often encounters a problem how to assemble an application with associated program ele2ment and how to manage effectively component and call component each other. It is important task in program development . IOC( Inver2sion of Control) framework adapts to this request . This paper introduces introduces the basic principles for IOC mode , and discusses IOC container configuration , and focus on analysis and implementation of the IOC.
Keywords:IOC  DI  framework
本文献已被 维普 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号