Code generation method and a device of a service function
A technology for code generation and business functions, applied in the field of code generation methods and devices for business functions, can solve problems such as low quality and long time consumption, so as to reduce the time taken, improve research and development efficiency, improve readability and development quality Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
example 1
[0097] If the code generation tool parses the xml data template and obtains the business data of the code to be generated including the table structure data of the code to be generated and the path information of the code template, then the code template of the code to be generated can be obtained according to the path information of the code template Furthermore, the automatic code generation tool can use freemaker technology to analyze and generate the code file to be generated according to the table structure data of the code to be generated and the code template of the code to be generated.
[0098] Among them, freemaker is a template engine, that is, a general tool based on templates and data to be changed, and used to generate output text (HTML web pages, emails, configuration files, source code, etc.). Freemaker is not intended for end users, but a Java class library, a component that programmers can embed into the products they develop. Freemaker technology mainly incl...
example 2
[0100] If the code generation tool obtains the business data of the code to be generated by parsing the xml data template, including the path information of the code template, the table structure data of the code to be generated, and the relationship data of the code to be generated, then it can be based on the code template Path information to obtain the code template of the code to be generated, and then, the automatic code generation tool can use freemaker technology to analyze and generate the code to be generated according to the table structure data of the code to be generated, the relationship data of the code to be generated, and the code template of the code to be generated document.
example 3
[0102] If the code generation tool obtains the business data of the code to be generated by parsing the xml data template, including the path information of the code template, the table structure data of the code to be generated, and the display style data of the code to be generated, then, according to the path information of the code template To obtain the code template of the code to be generated, and then, the automatic code generation tool can use freemaker technology to analyze and generate the code to be generated according to the table structure data of the code to be generated, the display style data of the code to be generated and the code template of the code to be generated document.
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


