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

面向对象设计中的DIP原则及其应用
引用本文:何晓宇,徐学洲.面向对象设计中的DIP原则及其应用[J].计算机工程与设计,2003,24(3):74-76.
作者姓名:何晓宇  徐学洲
作者单位:西安电子科技大学,软件工程研究所,陕西,西安,710071
摘    要:描述了在面向对象设计中设计者应遵循的原则之一-DIP(The Dependency Inversion Principle),首先通过和传统结构化软件结构的对比,详细描述了DIP的核心思想,并且讨论了在应用中如何使用此原则设计出灵活的、可重用的软件结构,然后通过模板方法模式以及一个管理组件的设计分别分析了DIP在设计模式和COM中的应用。

关 键 词:面向对象  DIP原则  组件化程序设计  软件结构  组件对象模型  依赖倒置原则  组件对象模式
文章编号:1000-7024(2003)03-0074-03

Dependency inversion principle in the OOD
HE Xiao-yu,XU Xue-zhou.Dependency inversion principle in the OOD[J].Computer Engineering and Design,2003,24(3):74-76.
Authors:HE Xiao-yu  XU Xue-zhou
Abstract: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.
Keywords:OOD  DIP  design pattern  COM  
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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