首页> 中文期刊> 《微处理机》 >一种面向业务过程的软件代码生成方法

一种面向业务过程的软件代码生成方法

         

摘要

为了提高业务流程软件的开发效率,提出了一种面向业务过程的软件代码生成方法。通过使用基于模板的代码生成引擎 FreeMarker 和建立描述业务过程的工作流模型,设计了一种代码生成方法。方法按照 MVC 的软件体系结构设计模板,对建立的工作流模型和数据模型进行转换,生成模型层 Java 代码和视图层 extjs 代码,并结合流程生成相应的控制层代码,完成了自动生成面向业务过程的模型层、视图层和控制层代码的功能。应用实例的实现验证了该方法的可行性和有效性。%In order to improve the development efficiency of business process software,a code generation method for business process,using the "template engine"FreeMarker to generate text output based on templates and the establishing the workflow model of business process,is proposed in this paper.According to the software architecture of MVC,the templates is designed to transform the workflow model and data model for generating Java code of model layer,extjs code of view layer and control layer with process.The function of auto codes generation in model layer,view layer and control are completed for business process.The application example proves that the method is feasible and effective.

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号