首页 | 本学科首页   官方微博 | 高级检索  
     

一种通用管理系统代码自动生成器的设计与实现
引用本文:熊仕勇,李沁翰,唐浩.一种通用管理系统代码自动生成器的设计与实现[J].四川兵工学报,2014(6):121-123.
作者姓名:熊仕勇  李沁翰  唐浩
作者单位:重庆邮电大学软件学院,重庆400065
摘    要:介绍了一种自动获取数据库表结构并运用数据模型技术自动生成所需的程序代码的方法。该方法允许用户自定义代码模板,自动读取数据库表结构并生成项目中操作数据库的代码和页面代码,实现数据模型驱动的开发模式。通过这种方法能够完成项目中95%以上的数据库层代码设计,大大减少了程序员的编程工作量和项目完成周期。

关 键 词:数据库  代码自动生成  代码拼接  表结构读取

Design and Implement of a Common Management System Code Generator
Authors:XIONG Shi-Yong  LI Qin-han  TANG Hao
Affiliation:(School of Software, Chongqing University of Posts and Telecommunications, Chongqing 400065, China)
Abstract:This paper introduced a kind of automatic access to the database table structure and used model technology to automatically generate the required method of program code.This method allows the user to custom code templates,automatic getting the database table structure and generate the project operation database code and page code,implement the data model driven development pattern.Through this meth-od,we can complete the project in more than 95%of the code design,and reduce the amount of program-ming and project completion period greatly.
Keywords:database  code generator  code splicing  table structure
本文献已被 CNKI 维普 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号