首页> 外文期刊>Science of Computer Programming >Aspect-oriented model-driven skeleton code generation: A graph-based transformation approach
【24h】

Aspect-oriented model-driven skeleton code generation: A graph-based transformation approach

机译:面向方面的模型驱动骨架代码生成:基于图的转换方法

获取原文
获取原文并翻译 | 示例
           

摘要

Model-driven code generation has been investigated in traditional and object-oriented design paradigms; significant progress has been made. It offers many advantages including the rapid development of high quality code. Errors are reduced and the consistency between the design and the code is retained, in comparison with a purely manual approach. Here, a model-driven code generation approach based on graph transformations for aspect-oriented development is proposed. The approach has two main transformation activities. The first activity transforms a visual (graphical) model of the design into a formal, text-based notation that can be readily processed. The graphical model is created by the software designer and uses a UML profile for aspect-oriented software (i.e., FDAF) to represent aspects and their components. XML is the target notation for this step; the transformation uses the XML meta-model to ensure that the output complies with the language. The second activity transforms the XML model into AspectJ source code. The transformation uses the Aspect) meta-model to ensure the output complies with the language. The transformations from the extended UML model to XML and from XML to AspectJ code are fully automated. The transformation algorithms are based on graph transformations; tool support has been developed. Key technical issues in the approach are discussed, including performance, the amount of code generated, correctness, and adaptability, in addition to a comparison of the proposal with existing alternative approaches. The approach has been validated on three example systems: a banking system, classroom scheduling system, and an insurance system. The banking system example is presented in the paper.
机译:在传统的和面向对象的设计范例中已经研究了模型驱动的代码生成;取得了重大进展。它具有许多优势,包括快速开发高质量代码。与纯手工方法相比,可减少错误并保留设计与代码之间的一致性。在此,针对面向方面的开发,提出了一种基于图变换的模型驱动代码生成方法。该方法有两个主要的转换活动。第一项活动将设计的视觉(图形)模型转换为易于处理的基于文本的正式注释。图形模型由软件设计者创建,并使用面向方面的软件(即FDAF)的UML概要文件来表示方面及其组件。 XML是此步骤的目标符号。转换使用XML元模型来确保输出符合语言。第二个活动将XML模型转换为AspectJ源代码。转换使用Aspect()的元模型来确保输出符合语言。从扩展UML模型到XML以及从XML到AspectJ代码的转换是完全自动化的。转换算法基于图转换;工具支持已经开发。除了将建议与现有替代方法进行比较之外,还讨论了该方法中的关键技术问题,包括性能,代码生成量,正确性和适应性。该方法已在三个示例系统上得到验证:银行系统,教室调度系统和保险系统。本文介绍了银行系统示例。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号