面向对象系统的应用编程接口设计模式  被引量:7

API Design Pattern of Object-Oriented System

在线阅读下载全文

作  者:张晓鑫[1] 雍俊海[1] 郑国勤[1] 陈玉健[1] 

机构地区:[1]清华大学软件学院,北京100084

出  处:《计算机工程与应用》2006年第30期108-110,共3页Computer Engineering and Applications

基  金:国家973重点基础研究规划资助项目(编号:2004CB719403)

摘  要:传统的面向对象系统应用编程接口与实现分离不彻底,接口类的部分实现细节仍然与用户程序过紧地耦合在一起,使系统的维护和升级变得困难。论文提出一种新的接口设计模式,将系统划分为接口部分、实现部分和访问控制部分,隐藏了接口类的细节,从而降低了系统与用户程序的耦合度。该模式已被应用于商业CAD系统中。API and implementation is not separated entirely in conventional Object-Oriented system.The degree of coupling between API and user program is high,so the maintenance and upgrade of the system will become difficuh.A new design pattern for this problem is proposed in this paper,The system is divided into three parts:interface, implementation and access control.The details of implementation are hided entirely.The degree of coupling decreases. This pattern is used in a commercial CAD system.

关 键 词:设计模式 应用编程接口 面向对象 

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

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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