摘要
设计模式是软件工程界的热点,在面向对象软件设计中扮演着重要角色,自动化支持设计模式非常必要。为此,以LePUS语言为基础,提出了一个支持设计模式的CASE工具原型模型,该工具支持设计模式代码框架的自动生成,更重要的是该工具可以通过加入新的设计模式而得以扩展。此外,详细分析了实现中的源程序内部表示、设计模式实例化、动态模板生成技术等关键技术。
Design pattern is one of the hot topics of software community and plays outstanding role in object-oriented software designs. It is very necessary to support design patterns automatically. So a model of a prototype CASE tool supporting design patterns based on LePUS is proposed. This tool supports automatic code generation, and more importantly, this tool can be extended through adding new patterns. The key technologies of implementation are analyzed, such as internal representation of source code, instantiation of design patterns, dynamic pattern template generation and so on.
出处
《计算机工程与设计》
CSCD
2004年第11期2074-2076,2084,共4页
Computer Engineering and Design