计算机与数字工程2016,Vol.44Issue(8):1474-1477,1522,5.DOI:10.3969/j.issn.1672-9722.2016.08.017
观察者模式在面向抽象编程中的应用
Application of the Observer Mode in Abstract-Oriented Programming
刘凌云1
作者信息
- 1. 东北石油大学计算机与信息技术学院 大庆 163000
- 折叠
摘要
Abstract
In order to improve scalability and maintainability os software system ,a system framework must be able to build to adapt to the changing needs of the user is system design ,therefore ,in dealing with one to many dependencies in the system ,abstract oriented way of thinking is used ,the observer mode is introduced ,the change part is separated from un-change part ,an abstract class or interface is formed ,so that when an user needs change ,an abstract class or interface imple-mentation class is added without changing the original code ,thereby the robustness of the system is improved greatly the cost of software maintenance is reduced .Practice has proved that in project design ,which layer is abstracted specifically can com-bine various development platforms and make adjustments and optimization ,it is not immutable .关键词
面向抽象编程/观察者模式/抽象类/接口/事件/委托Key words
abstract-oriented programming/observer mode/abstract/interface/event/delegate分类
信息技术与安全科学引用本文复制引用
刘凌云..观察者模式在面向抽象编程中的应用[J].计算机与数字工程,2016,44(8):1474-1477,1522,5.