首页 | 本学科首页   官方微博 | 高级检索  
     检索      

利用观察者模式实现自顶向下消息传递
引用本文:肖永刚.利用观察者模式实现自顶向下消息传递[J].文山师范高等专科学校学报,2011,24(6):92-94,112.
作者姓名:肖永刚
作者单位:文山学院计科系,云南文山,663000
摘    要:文章介绍了在虚拟校园设计中应用观察者模式实现自顶向下消息传递的方法。初始的设计采用了面向对象开发方法中的组合原则,存在一些缺陷。应用观察者模式重新设计以后,系统可以适应将来可能面临的升级,提高了系统的可扩展性和可维护性。文章详细介绍了两种设计的设计过程,通过对比这两种设计方法,指出了应用观察者模式的优缺点。

关 键 词:观察者模式  自顶向下  消息传递  虚拟校园

Top-down Message Delivering Using Observer Pattern
XIAO Yong-gang.Top-down Message Delivering Using Observer Pattern[J].Journal of Wenshan Teachers College,2011,24(6):92-94,112.
Authors:XIAO Yong-gang
Institution:XIAO Yong-gang (Department of ComputerScience, Wenshan University, Wenshan 663000, China)
Abstract:This paper introduces the application of Observer Pattern that implements top-down message delivering in virtual campus system. The original design is based on composition principle and there exist some weaknesses. Then the reworked design applying Observer Pattern accommodates it to the future extension and fonowing maintenance. The process of both designs is explained in details. By contrasting two designs the advantages and disadvantages of Observer Pattern are listed at the end.
Keywords:Observer Pattern  top-down  message delivering  virtual campus
本文献已被 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号