Font Size: a A A

Research Of Software Auto-generation Technology Based On Template

Posted on:2016-07-27Degree:MasterType:Thesis
Country:ChinaCandidate:Z T ChenFull Text:PDF
GTID:2308330470963927Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
With the continuous development of social informatization, the demand for Web information management system is also increasing. Because of the high similarity of each module in this system, there will be repetitive coding work for developers to develop system. Many researchers research on code auto-generation at home and abroad, though has obtained certain achievements, most cannot build a complete project. This paper analyzes the code auto-generation technology, and designs the software auto-generation system based on template. It uses the data model and the custom template to build the system prototype quickly. The prototype system can implement basic CRUD(create, retrieve,update,and delete) functions.The main contents as follows:(1)Analyzing the target Web system, and abstracting the system reasonably. Let the results as the template source of the software auto-generation system.(2)Using the existing CASE tools and Free Marker template engine technology to design the data model, template files and code generation engine of the software auto-generation system. Adding custom marking instructions in data model to control target code generation. Using DOM4 J technology to parse file and regular expressions to extract the marking instructions. Making the corresponding transformation rules in the code generation process, such as the conversion between the data types in database and Java types. Researching on the code updating problem caused by requirements changing.(3)Using the Eclipse plug-in technology to integrate the system in the development platform, and using SWT technology to complement the graphical interface of the system.(4)Using the software auto-generation system to generate a web system based on SSH framework.It shows that the software auto-generation system based on template can quickly generate the Web system prototype through application example. It greatly improves the development efficiency, reduces the cost of development and provides a good expandability.
Keywords/Search Tags:template, code generator, Free Marker, SSH
PDF Full Text Request
Related items