期刊文献+

基于事件机制的观察者模式及应用 被引量:7

The Applied Research of Observer Pattern Based on Event Mechanism
下载PDF
导出
摘要 研究了委托与事件机制的实现方法,阐述了观察者模式的特征及所遵循的原则,提出了基于事件机制的观察者模式新的结构及编程框架。最后分析了其主要应用场景。 The observer pattern is mainly used to weaken the coupled relations between objects. The event mechanism buih on the basis of the delegate type further decouples subject and observer object of the observer pattern, improving the ability that the observer pattern can adapt to the changes better. This paper not only discusses implementation methods of delegate and event mechanism, but also ex- pounds the characteristics of observer pattern and principles, and then puts forward the new structure and programming framework of the event-based mechanism in observer pattern. In the end, it analyzes the main application scenarios.
作者 吴清寿
出处 《重庆理工大学学报(自然科学)》 CAS 2012年第9期100-104,共5页 Journal of Chongqing University of Technology:Natural Science
基金 福建省教育厅科技项目(JA11265) 武夷学院科研基金资助项目(X1201019)
关键词 观察者模式 事件 委托 设计模式 observer pattern event delegate design pattern
  • 相关文献

参考文献6

  • 1Gamma E,Helm R,Johnson R,et al. Design patterns ele- ments of reusable object-oriented software [ M ]. New York : Adison-Wesley, 1995.
  • 2甑镭..NET与设计模式[M].北京:电子工业出版社,2005.
  • 3微软公司.基于c#的.NETFramework程序设计[M].北京:高等教育出版社,2004:149.
  • 4叶俊,龙志强.状态监控软件通用框架设计及应用[J].计算机仿真,2008,25(4):271-273. 被引量:4
  • 5冯新扬,范颖,崔凯,沈建京.利用设计模式改进分层架构[J].计算机工程与设计,2007,28(15):3686-3689. 被引量:20
  • 6Coplien J. Multi-Paradigm Design for C ++ [ M ]. Boston: Addison-Wesley, 1998:63.

二级参考文献11

  • 1MartinFowler.企业应用架构模式[M].机械工业出版社,2004..
  • 2王咏武 王咏刚.道法自然-面向对象实践指南[M].北京:电子工业出版社,2005..
  • 3Robert C Martin.敏捷软件开发:原则、模式与实践[M].邓辉.北京:清华大学出版社,2003.249-256.
  • 4Alan Shalloway,James R Trott.设计模式精解[M].北京:清华大学出版社,2004.
  • 5Frank Buschmann, Regine meunier, Hans Rohnert,et al.面向模式的软件体系结构一卷1模式系统[M].贲可荣,郭福亮,译.北京:机械工业出版社,2003.
  • 6Erich Gamma,Richard Helm,Ralph Johnson,et al.设计模式:可复用面向对象软件的基础[M].李英军,马晓星,蔡敏,等译.北京:机械工业出版社,2005:92,121,194.
  • 7Clifton Nock.数据访问模式-面向对象应用中的数据库交互[M].鄢爱兰,王安鹏,译.北京:中国电力出版社,2004.
  • 8Andy Wigley, Stephen Wheelwright: NET Compact Framework技术内幕[M].北京:清华大学出版社.2003.9.
  • 9Copper. C# Design Patterns: A Tutorial [ M ].北京:电子工业出版社,2003.8.
  • 10Martin Fowler.UML精粹[M].北京:清华大学出版社.2002.5.

共引文献23

同被引文献22

引证文献7

二级引证文献10

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部