Author Login Editor-in-Chief Peer Review Editor Work Office Work

Computer Engineering ›› 2007, Vol. 33 ›› Issue (20): 43-45,4. doi: 10.3969/j.issn.1000-3428.2007.20.014

• Degree Paper • Previous Articles     Next Articles

Object Access Pattern for De-coupling Between Modules

SONG Jie, YU Ge, WANG Da-ling, BAO Yu-bin   

  1. (Department of Information Science and Engineering, Northeastern University, Shenyang 110004)
  • Received:1900-01-01 Revised:1900-01-01 Online:2007-10-20 Published:2007-10-20

一种用于模块间解耦的对象访问模式

宋 杰,于 戈,王大玲,鲍玉斌   

  1. (东北大学信息科学与工程学院,沈阳 110004)

Abstract: In order to solve the interaction coupling caused by sharing data between software modules effectively, a new design pattern is presented named registry pattern. This pattern encapsulates the sharing data, avoids the data transfer between each module, separates the data providers and the data accessors, realizes one kind of simplified access protocol between the objects, and ultimately reduces the degree of modules’ coupling. The theory and the practice proof that registry pattern is effective for the object-oriented design, which is component, or module based software architecture.

Key words: registry pattern, design pattern, object-oriented design

摘要: 为了有效解决模块之间因共享数据而产生的交互耦合,提出了一种新的设计模式——注册仓模式。该模式封装了共享数据,避免了数据在各个使用者之间传递,分离了数据的提供者和使用者,实现了模块间一种简化的数据访问协议,降低了模块间的耦合度。理论和实践证明注册仓模式能良好地适用基于组件或模块的软件体系架构下面向对象的程序设计。

关键词: 注册仓模式, 设计模式, 面向对象的设计

CLC Number: