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

设计模式应用实例
引用本文:路立峰,陈平,杜军朝,张立勇.设计模式应用实例[J].微机发展,2005,15(2):134-136.
作者姓名:路立峰  陈平  杜军朝  张立勇
作者单位:西安电子科技大学软件工程研究所,西安电子科技大学软件工程研究所,西安电子科技大学软件工程研究所,西安电子科技大学软件工程研究所 陕西西安710071,陕西西安710071,陕西西安710071,陕西西安710071
摘    要:设计模式记录和提炼了软件程序员在面向对象软件设计中的成功经验和问题解决方案,是系统可复用的基础。正确地使用设计模式,有助于快速开发出可复用的系统。文中通过阐述在一个具体的设计实例中如何根据设计要求和上下文选择适当的设计模式,如何权衡设计模式应用的利与弊,展示了如何使用设计模式进行可复用程序设计。通过使用设计模式,文中作为例子讲解的系统在很短的时间内就设计完成,而且设计的系统具有很高的可重用性,从而设计模式的应用能够提高程序员的效率。

关 键 词:设计模式  面向对象的程序设计  软件复用
文章编号:1005-3751(2005)02-0134-03
修稿时间:2004年6月10日

An Example of Design Pattern Application
LU Li-feng,CHEN Ping,DU Jun-zhao,ZHANG Li-yong.An Example of Design Pattern Application[J].Microcomputer Development,2005,15(2):134-136.
Authors:LU Li-feng  CHEN Ping  DU Jun-zhao  ZHANG Li-yong
Abstract:Design pattern is a set of records and abstraction based on the successful solution for certain commonly encountered problems.It is the foundation of reusable system.Correctly selecting and using design pattern is very helpful for developing reusable software quickly.The process of selecting a proper design pattern according to design requirement and context and the balancing between advantages and disadvantages of the using of design pattern within the developing of one specific example are shown in this paper to demonstrate how to use design pattern to design reusable program.The developing of the example was completed quickly and the example is very reusable,so it is believed that design pattern is helpful for software engineers.
Keywords:design pattern  object-oriented programming  software reusing
本文献已被 CNKI 维普 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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