面向对象设计中的DIP原则及其应用  

Dependency inversion principle in the OOD

在线阅读下载全文

作  者:何晓宇[1] 徐学洲[1] 

机构地区:[1]西安电子科技大学软件工程研究所,陕西西安710071

出  处:《计算机工程与设计》2003年第3期74-76,共3页Computer Engineering and Design

摘  要:描述了在面向对象设计中设计者应遵循的原则之一——DIP(The Dependency Inversion Principle).首先通过和传统结构化软件结构的对比,详细描述了DIP的核心思想,并且讨论了在应用中如何使用此原则设计出灵活的、可重用的软件结构,然后通过模板方法模式以及一个管理组件的设计分别分析了DIP在设计模式和COM中的应用。This paper described DIP (the dependency inversion principle), one of the principles that was obeyed by designer in process of OOD. Firstly it was described the core concept of the DIP in detail through comparing with the procedural design of the traditional software method, and discussed how to use it to design the flexible and reusable software architecture. Secondly it was analyzed through template method pattern and design of a manager component in applications of design pattern and COM.

关 键 词:面向对象 DIP原则 组件化程序设计 软件结构 组件对象模型 依赖倒置原则 组件对象模式 

分 类 号:TP311.1[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象