后台管理系统功能和模式相对固定,为了降低软件开发人员的重复工作量,缩短项目的开发周期,应用基于模板技术的代码生成原理,设计一款基于Maven的后台管理系统代码生成器,完成从业务模型到后台管理系统的代码生成;从业务文件定义、业务文件解析到模板合成阐述本代码生成器的内部结构。%The functions and mode of backstage management system are comparatively changeless .By applying code generation principle which is based on template technology , this paper designs a Maven-based code generator for backstage management sys-tem, fulfilling code generation from business model to backstage management system , in order to reduce repeated workload of soft-ware developers and project development cycle .From business document definition and analysis , to the template generation , the paper covers the code generator ’ s internal structure .
展开▼