期刊文献+

设计模式的研究与应用

The Research and Application of Design Patterns
下载PDF
导出
摘要 设计模式是面向对象理论的进一步深化,其基本目的是为防止程序各模块间产生太多关联而尽量保持类与类之间的相互独立,并使设计出的各种模式具有普遍的应用意义从而避免重复的代码编写。介绍了设计模式的概念以及当前设计模式的一般分类,然后以适配器模式为例,对设计模式的应用进行了研究探讨。通过对同一应用的不同实现方式的比较.突出了设计模式在实际开发应用中的优势。 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.
作者 陈丁山 CHEN Ding-shan(Network Information Center, Hunan Agricultural University, Changsha Hunan, 410128)
出处 《电脑知识与技术》 2007年第12期1346-1348,共3页 Computer Knowledge and Technology
关键词 设计模式 适配器模式 面向对象 JAVA Design Patterns Adapter Pattern Object Oriented Java
  • 相关文献

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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