1 / 54
文档名称:

软件设计模式研究及应用.pdf

格式:pdf   大小:2,322KB   页数:54页
下载后只包含 1 个 PDF 格式的文档,没有任何的图纸或源代码,查看文件列表

如果您已付费下载过本站文档,您可以点这里二次下载

分享

预览

软件设计模式研究及应用.pdf

上传人:wh7422 2016/8/28 文件大小:2.27 MB

下载得到文件列表

软件设计模式研究及应用.pdf

相关文档

文档介绍

文档介绍:长沙理工大学硕士学位论文软件设计模式研究及应用姓名:贺亮申请学位级别:硕士专业:计算机软件与理论指导教师:龙鹏飞 20090301 摘要随着企业应用系统复杂性的R益增加,企业应用系统向着产品化发展的趋势逐渐上升。为了解决软件人员在设计开发过程中的非功能性问题,提高软件开发过程中的效率和质量,愈加迫切需要采用一些先进的软件工程方法去进行系统的开发。近年来软件设计模式作为软件复用方法研究中的热点,它可以有效地解决软件开发设计中的复用问题,可以使软件的复用从代码复用阶段提高到软件设计开发的各个知识阶段复用,从而促进企业应用软件的产品化,是解决企业应用中非功能性需求问题的有效途径之一。本文所做的工作主要体现在以下几个方面: (1)讨论了软件设计模式的思想及应用方法。将软件设计模式与软件体系结构、软件框架以及软件组件分别加以比较,进一步分析了软件设计模式的法则及运用设计模式解决软件设计问题的途径等。(2)介绍了高校培养计划管理系统的主要功能,并对系统中涉及到的对象层次关系做了分析。针对如何解决不同对象实现不同的功能问题引入了访问者模式,并对访问者模式的相关定义,适用范围作了详细分析。通过访问者模式在高校培养计划管理系统中的应用设计分析了访问者模式存在的不足,并利用高级语言程序中的虚方法和反射技术对访问者模式进行了改进。(3)将改进后的访问者模式应用到高校培养计划管理系统中,并对部分应用关键代码加以分析说明。通过测试发现改进后的访问者模式不仅使得代码量减少,而且使得代码容易维护。关键词:企业应用;软件设计;访问者模式,虚方法:反射技术 ABSTRACT Since the application system of enterprises es more and more conlplicated,the tendency ofitsproducts has risen graduall order toimproVe the emciency and quality ofsoRware deVelopment,and solVe nonfunctional problems in theprocess of soRware dcVelopment and design,it cs more urgent toadopt the advanced methods gineering todeVelop pattem as tllefocus of softwarc reuse can solve the reuse problems in softwarc design not only improVes the software reuse from thc code reusc tothc knowledge reuse incachst印of soRware deVelopment,but alsomakes thc softwarc productive. Itis thc critical method to solve problems in the application system ofenterprises. Thc main task ofthisthesis shows as : Firstly; thc thesis discusscs thc thought of soRwarc design patt啪 and its application paring thepattcrn ofsoRwafc design with thesystem stmcturc soRware,the frame of software aswell as themodule perfomed, theauthor proposes theprinciplc ofdesign pattem,the way tosolVe design problems and apply the design pattem and so on. Secondly;the thesis introduces the main functions oftraining plan MIS in universities,and analyzes the hicrarchical relation ofobjects inVolVed in the system. Since have dif代rent fhnctions,this thesis ex