摘要
题型库是一个应用在考试信息系统中的计算机软件类型库,包含了表示处理各种题型数据的格式转换、显示和保存等功能的软件类。这些类在如教学辅助平台和课程自学系统等系统中都可以被应用。本文叙述了在设计题型库时,为了使题型库的复用性更高和可维护性更高所使用的一些设计思想,也就是使用设计模式中的对象创建性模式来设计题型库。文章采用提出问题、解决问题和总结问题的结构,以对比说明的方式验证了设计模式的合理使用可以提高软件系统的复用性和可扩展性。文章使用UML的序列图来说明使用创建型设计模式来设计题型库的思路和方法。
Theme-Library is a software class library which is used in test information system,the functions in these classes include converting format of theme data,displaying and saving test data.And these classes may be used in such systems as teaching-assistant platform and system for self-study.This paper bewrite some design ideas used to enhance usability and maintain ability when the Theme-Library is designed.That is to say,those design works should be done by using some Object-Construct patterns which are included in DesignPattern.This paper have three main parts:question,solution and the postscript,and prove that correctly using design pattern can enhance the reusability and extensibility of a software system.This paper depicts the think and methods of using Construct-Pattern to design ThemeLibrary by the help of UML sequence chart.
出处
《软件》
2012年第3期69-71,共3页
Software
关键词
软件工程
设计模式
题型库
软件复用
Software-engineering
Theme-Library
Design-Pattern
Software Reuse.