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

设计模式的研究与应用
引用本文:陈丁山. 设计模式的研究与应用[J]. 数字社区&智能家居, 2007, 0(23)
作者姓名:陈丁山
作者单位:湖南农业大学,信息网络中心,湖南,长沙,410128
摘    要:设计模式是面向对象理论的进一步深化,其基本目的是为防止程序各模块间产生太多关联而尽量保持类与类之间的相互独立,并使设计出的各种模式具有普遍的应用意义从而避免重复的代码编写.介绍了设计模式的概念以及当前设计模式的一般分类,然后以适配器模式为例,对设计模式的应用进行了研究探讨.通过对同一应用的不同实现方式的比较,突出了设计模式在实际开发应用中的优势.

关 键 词:设计模式  适配器模式  面向对象  Java

The Research and Application of Design Patterns
CHEN Ding-shan. The Research and Application of Design Patterns[J]. Digital Community & Smart Home, 2007, 0(23)
Authors:CHEN Ding-shan
Abstract:Design pattern is a more intensive expatiation to the object oriented theory.Its purpose is to keep the independence of each class so that the inter-block relationship of the program would be confined,and it can avoid the pleonastic constructing works by scheming out the patterns that with more applied values.This paper,starts with the concept and classification of the design patterns,studies the application of design patterns with the example of adapter pattern.Through the comparison of same application on different ways,highlights the advantage of design patterns.
Keywords:Design Patterns  Adapter Pattern  Object Oriented  Java
本文献已被 CNKI 维普 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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