一种用于模块间解耦的对象访问模式  被引量:2

Object Access Pattern for De-coupling Between Modules

在线阅读下载全文

作  者:宋杰[1] 于戈[1] 王大玲[1] 鲍玉斌[1] 

机构地区:[1]东北大学信息科学与工程学院,沈阳110004

出  处:《计算机工程》2007年第20期43-45,48,共4页Computer Engineering

基  金:国家自然科学基金资助项目(60573090)

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

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

分 类 号:TP391[自动化与计算机技术—计算机应用技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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