检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:段群 吴粉侠[1,2] 欧阳宏基 DUAN Qun WU Fen-xia OUYANG Hong-ji(School of Computer Science, Xianyang Normal University, Xianyang 712000 China Institute of Graphics and Image Processing, Xianyang Normal University, Xianyang 712000 China)
机构地区:[1]咸阳师范学院计算机学院,陕西咸阳712000 [2]咸阳师范学院图形图像处理研究所,陕西咸阳712000
出 处:《自动化技术与应用》2017年第9期60-63,共4页Techniques of Automation and Applications
基 金:陕西省教育厅专项基金资助项目(编号16JK1823);咸阳师范学院专项基金项目(编号15XSYK045)
摘 要:软件设计模式在软件项目设计与开发中占有重要的地位。本文在对实际软件项目目标考核系统进行功能分析的基础上,首先,针对系统中三级指标得分计算规则繁多的问题,应用了策略模式;然后,又因为具体实现策略类太多,出现的选择重用问题,应用了简单工厂模式;最后,针对系统中在审核目标完成细节对象时,需要自动引发目标完成汇总对象的改变,应用了观察者模式。通过三种软件设计模式的使用,实现了系统的主要功能,在实际应用中得到了较好的使用效果,为系统分析与设计师灵活应用这三种设计模式提供了一定的参考依据。Software design patterns occupies an important position in software project design and development. First, this paper applies strategy pattern when analyzing the function of actual software project' s objective assessment system according to the problems that there are so many scoring rules in the third level index. And then, it applies simple factory patterns when it shows up reuse issues for because there are so many concrete implementation strategies. Finally, it applies the observer pattern in view of the issue that the system needs automatically stimulating the changes of summary object when assessing the details of completing target completion. The system' s main function is accomplished according to applying these three patterns, and the better using function in the practical application offers a certain references for the system analysis and the designer flexibly using these three patterns.
关 键 词:设计模式 观察者模式 策略模式 简单工厂模式 目标考核系统
分 类 号:TP319[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.222