节点文献

设计模式库构建研究与应用

The Research and Application on the Construction of Design Pattern Library

【作者】 王海涛

【导师】 何曙光;

【作者基本信息】 天津大学 , 管理科学与工程, 2010, 硕士

【摘要】 设计模式本质上是一种优秀的设计思想,它能够很大程度地优化系统架构,增强软件复用性和健壮性,在一定程度上解决“软件危机”带来的困扰。但是如何将这种思想有效地从设计者传达到使用者是摆在技术人员面前的一道难题。设计模式库的出现为解决这个问题带来了希望。设计模式库的作用是将精巧的设计模式看作可复用构件,运用一定的技术将其存储起来,以备其他工程人员使用。其中,如何将设计模式有效地存储以及如何准确地对其进行检索是构建设计模式库的重要课题。本文充分融合了模式库的建设思想,全面阐述了设计模式库的存储、维护和检索三方面应注意的问题,形成了一个完整的脉络。其中在存储方面提出了刻面分类的方法以及基于XML描述文件的传输方法,全面地刻画了设计模式库的空间;在维护方面较为完整地阐述了包括产品识别、修改、删除以及刻面信息修改几方面的具体步骤,并讨论了一些细节问题;在检索方面则借鉴了简单查询、层次信息编码和模糊数学中的有关思想,提出了三步检索机制,以期对设计模式进行有效的查询。本文在最后运用实例展现了上述过程,从侧面反映了设计模式库的构建方法。

【Abstract】 The design pattern is an excellent design thought in essence. It can be used to optimize the structure of software system, enhance the reusability and robustness of software. It is useful for solving the“crisis of software”in some extent. A problem when we using design pattern is how to transmit it from designer to user. The design pattern library is one of the solutions to this problem. It regards the exquisite design patterns as reusable components and storage them by some methods for the use of others. How to effectively storage and retrieve the patterns has been a tickler faced by people.In this thesis, we merges the thought of construction of component library and elaborates the skeleton of the design pattern library’s establishment, which includes storage, maintenance and retrieval. On the problem of storage, we propose the faced classification and XML description file-based transmission, which completely depicts the space of design pattern library. On the problem of maintenance, the procedures of recognition, modification, deletion on the products and the change of faces are described and some ideas in detail are discussed. On the problem of retrieval, we propose the three-step retrieval referring to the thought of simple retrieval, level-information coding and vague mathematics, which can be used to retrieve the design patterns with better results. In the last part, an example is given to show the steps and display the method of constructing design pattern library on the side face.

  • 【网络出版投稿人】 天津大学
  • 【网络出版年期】2012年 03期
节点文献中: 

本文链接的文献网络图示:

本文的引文网络