CN108984156A - A kind of software auto generating method and system for exempting from code development based on template - Google Patents

A kind of software auto generating method and system for exempting from code development based on template Download PDF

Info

Publication number
CN108984156A
CN108984156A CN201810736679.9A CN201810736679A CN108984156A CN 108984156 A CN108984156 A CN 108984156A CN 201810736679 A CN201810736679 A CN 201810736679A CN 108984156 A CN108984156 A CN 108984156A
Authority
CN
China
Prior art keywords
template
metadata
data
software
code
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
CN201810736679.9A
Other languages
Chinese (zh)
Inventor
徐玉红
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hefei Minggao Software Technology Co Ltd
Original Assignee
Hefei Minggao Software Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hefei Minggao Software Technology Co Ltd filed Critical Hefei Minggao Software Technology Co Ltd
Priority to CN201810736679.9A priority Critical patent/CN108984156A/en
Publication of CN108984156A publication Critical patent/CN108984156A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/20Software design

Abstract

The invention discloses a kind of software auto generating method and system for exempting from code development based on template, is related to field of computer technology.Software auto generating method includes the following steps: step 1, obtains the metadata of system software generation and store to metadata database;The template of step 2, a newly-increased processing list or data list;The self-defined control that template operates metadata is arranged in template, and self-defined control attribute information associated with metadata is arranged for step 3;Step 4, template retrieve the various information being arranged thereon, the functional software of processing list or data list is automatically generated according to the SQL statement that the automatic combination producing of information that retrieval obtains handles list or data list, and by generating the automatic code for calling SQL statement.The present invention carries out the development efficiency of software development software by the acquisition processing of metadata and based on template, improves and solves the problems, such as that existing software development is low, software development cost is high.

Description

A kind of software auto generating method and system for exempting from code development based on template
Technical field
The invention belongs to field of computer technology, automatic more particularly to a kind of software for exempting from code development based on template Generation method and a kind of software automatic generating system for exempting from code development based on template.
Background technique
From the point of view of present case, the speed of software development is slow, of a high price and easily malfunction, and can usually produce There are the products of a large amount of defects, cause serious ask in terms of availability, reliability, performance, safety and other service quality Topic.
Software development is a labor-intensive industry, and it is super that it creates human capital consumed by each dollar of value It has crossed us and has modernized the desired value of industry for one.Therefore, how to improve the development efficiency of software, save software development at This, becomes Current software industry and discusses warmly and one of urgent problem.
Summary of the invention
The purpose of the present invention is to provide a kind of software auto generating method and system for exempting from code development based on template, The development efficiency that software development software is carried out by the acquisition processing of metadata and based on template, is improved and solves existing software Develop problem low, that software development cost is high.
In order to solve the above technical problems, the present invention is achieved by the following technical solutions:
The present invention is a kind of software auto generating method for exempting from code development based on template, is included the following steps:
Step 1, the metadata for obtaining system software generation are simultaneously stored to metadata database;
The template of step 2, a newly-increased processing list or data list;
The self-defined control that is operated to metadata of template is arranged in step 3 in template, and be arranged self-defined control with The associated attribute information of metadata;
Step 4, template retrieve the various information being arranged thereon, and the automatic combination producing of information obtained according to retrieval is to list Or the SQL statement that data list is handled, and processing list is automatically generated by generating the automatic code for calling SQL statement Or the functional software of data list.
Further, the metadata includes business datum and performance data;The business datum include client, product and Order;The performance data includes customer account management, product maintenance and order entry.
Further, the metadata is indicated in the form of relational database record;The relational database includes number According to table, menu sheet and field list.
Further, the menu sheet includes menu coding, pad name, menu header and associated component;The data Table includes data table numbering, data table name, tables of data comment field;The field list includes field number, field name, number According to type, data width, field limitation, input mode, field annotation.
Further, the template is that multiple the winning the title for the tables of data that is mutually related of processing operate template.
Further, the attribute information is to be stored in commerce database and tables of data, menu in metadata database Table and the corresponding associated message code of field list.
A kind of software automatic generating system for exempting from code development based on template, including data input module, code building Module, setup module, metadata database, commerce database;
The input that the data input module is used to carry out metadata is arranged and stores to metadata database, including data The setting of table, menu sheet and field list creates;
The setup module extracts metadata for carrying out user, source code setting;
The code generation module according to for commerce database and metadata database generate user interface code, Formation component and interface code;
The metadata database is for storing metadata;
The commerce database is for storing associated message code corresponding with metadata.
The invention has the following advantages:
The present invention carries out the development efficiency of software development software by the acquisition processing of metadata and based on template, improves Solve the problems, such as that existing software development is low, software development cost is high.
Certainly, it implements any of the products of the present invention and does not necessarily require achieving all the advantages described above at the same time.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, will be described below to embodiment required Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for ability For the those of ordinary skill of domain, without creative efforts, it can also be obtained according to these attached drawings other attached Figure.
Fig. 1 is invention software automatic creation system structural block diagram.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts all other Embodiment shall fall within the protection scope of the present invention.
A kind of software auto generating method for exempting from code development based on template, includes the following steps:
Step 1, the metadata for obtaining system software generation are simultaneously stored to metadata database;
The template of step 2, a newly-increased processing list or data list;
The self-defined control that is operated to metadata of template is arranged in step 3 in template, and be arranged self-defined control with The associated attribute information of metadata;
Step 4, template retrieve the various information being arranged thereon, and the automatic combination producing of information obtained according to retrieval is to list Or the SQL statement that data list is handled, and processing list is automatically generated by generating the automatic code for calling SQL statement Or the functional software of data list.
Preferably, metadata includes business datum and performance data;Business datum includes client, product and order;Function Data include customer account management, product maintenance and order entry.
Preferably, metadata is indicated in the form of relational database record;Relational database includes tables of data, menu sheet And field list.
Preferably, menu sheet includes menu coding, pad name, menu header and associated component;Tables of data includes data Table numbering, data table name, tables of data comment field;Field list includes that field number, field name, data type, data are wide Degree, field limitation, input mode, field annotation.
Preferably, template is that multiple the winning the title for the tables of data that is mutually related of processing operate template.
Preferably, attribute information is to be stored in commerce database and tables of data, menu sheet and word in metadata database The corresponding associated message code of segment table.
As shown in fig.1, a kind of software automatic generating system for exempting from code development based on template, including data input mould Block, code generation module, setup module, metadata database, commerce database;
The input that data input module is used to carry out metadata is arranged and stores to metadata database, including tables of data, The setting of menu sheet and field list creates;
Setup module extracts metadata for carrying out user, source code setting;
Code generation module generates user interface code, generation according to for commerce database and metadata database Component and interface code;
Metadata database is for storing metadata;
Commerce database is for storing associated message code corresponding with metadata.
In the description of this specification, the description of reference term " one embodiment ", " example ", " specific example " etc. means Particular features, structures, materials, or characteristics described in conjunction with this embodiment or example are contained at least one implementation of the invention In example or example.In the present specification, schematic expression of the above terms may not refer to the same embodiment or example. Moreover, particular features, structures, materials, or characteristics described can be in any one or more of the embodiments or examples to close Suitable mode combines.
Present invention disclosed above preferred embodiment is only intended to help to illustrate the present invention.There is no detailed for preferred embodiment All details are described, are not limited the invention to the specific embodiments described.Obviously, according to the content of this specification, It can make many modifications and variations.These embodiments are chosen and specifically described to this specification, is in order to better explain the present invention Principle and practical application, so that skilled artisan be enable to better understand and utilize the present invention.The present invention is only It is limited by claims and its full scope and equivalent.

Claims (7)

1. a kind of software auto generating method for exempting from code development based on template, which comprises the steps of:
Step 1, the metadata for obtaining system software generation are simultaneously stored to metadata database;
The template of step 2, a newly-increased processing list or data list;
The self-defined control that template operates metadata is arranged in template, and self-defined control and first number is arranged for step 3 According to associated attribute information;
Step 4, template retrieve the various information being arranged thereon, and the automatic combination producing of information obtained according to retrieval is to list or number The SQL statement handled according to list, and processing list or number are automatically generated by generating the automatic code for calling SQL statement According to the functional software of list.
2. a kind of software auto generating method for exempting from code development based on template according to claim 1, feature exist In the metadata includes business datum and performance data;The business datum includes client, product and order;The function Data include customer account management, product maintenance and order entry.
3. a kind of software auto generating method for exempting from code development based on template according to claim 1, feature exist In the metadata is indicated in the form of relational database record;The relational database includes tables of data, menu sheet and word Segment table.
4. a kind of software auto generating method for exempting from code development based on template according to claim 3, feature exist In the menu sheet includes menu coding, pad name, menu header and associated component;The tables of data includes that tables of data is compiled Number, data table name, tables of data comment field;The field list includes that field number, field name, data type, data are wide Degree, field limitation, input mode, field annotation.
5. a kind of software auto generating method for exempting from code development based on template according to claim 1, feature exist In the template is that multiple the winning the title for the tables of data that is mutually related of processing operate template.
6. a kind of software auto generating method for exempting from code development based on template according to claim 1, feature exist In the attribute information is opposite with tables of data, menu sheet and field list in metadata database to be stored in commerce database Answer associated message code.
7. a kind of software automatic generating system for exempting from code development based on template, which is characterized in that including data input module, Code generation module, setup module, metadata database, commerce database, it is characterised in that;
The input that the data input module is used to carry out metadata is arranged and stores to metadata database, including tables of data, The setting of menu sheet and field list creates;
The setup module extracts metadata for carrying out user, source code setting;
The code generation module generates user interface code, generation according to for commerce database and metadata database Component and interface code;
The metadata database is for storing metadata;
The commerce database is for storing associated message code corresponding with metadata.
CN201810736679.9A 2018-07-06 2018-07-06 A kind of software auto generating method and system for exempting from code development based on template Withdrawn CN108984156A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810736679.9A CN108984156A (en) 2018-07-06 2018-07-06 A kind of software auto generating method and system for exempting from code development based on template

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810736679.9A CN108984156A (en) 2018-07-06 2018-07-06 A kind of software auto generating method and system for exempting from code development based on template

Publications (1)

Publication Number Publication Date
CN108984156A true CN108984156A (en) 2018-12-11

Family

ID=64536356

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810736679.9A Withdrawn CN108984156A (en) 2018-07-06 2018-07-06 A kind of software auto generating method and system for exempting from code development based on template

Country Status (1)

Country Link
CN (1) CN108984156A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109828989A (en) * 2019-01-31 2019-05-31 泰康保险集团股份有限公司 Client's marketing method and device
CN110955422A (en) * 2019-11-28 2020-04-03 杭州云徙科技有限公司 Front-end code generation method
CN111061475A (en) * 2019-12-13 2020-04-24 中国南方电网有限责任公司 Software code generation method and device, computer equipment and storage medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109828989A (en) * 2019-01-31 2019-05-31 泰康保险集团股份有限公司 Client's marketing method and device
CN110955422A (en) * 2019-11-28 2020-04-03 杭州云徙科技有限公司 Front-end code generation method
CN111061475A (en) * 2019-12-13 2020-04-24 中国南方电网有限责任公司 Software code generation method and device, computer equipment and storage medium
CN111061475B (en) * 2019-12-13 2023-12-12 中国南方电网有限责任公司 Software code generating method, device, computer equipment and storage medium

Similar Documents

Publication Publication Date Title
US10437584B2 (en) Web client command infrastructure integration into a rich client application
US6341286B1 (en) Method and apparatus for generating and distributing reports
CN101894348B (en) Self-expanded online transaction system and implementing method thereof
US20030101065A1 (en) Method and apparatus for maintaining conversation threads in electronic mail
CN104035754A (en) XML (Extensible Markup Language)-based custom code generation method and generator
CN108984156A (en) A kind of software auto generating method and system for exempting from code development based on template
CN101710274A (en) Method and system for generating help information of application software
CN111625535B (en) Method, device and storage medium for realizing business data association
JP5002729B2 (en) Data viewer management
CN101398755A (en) Software auto generating method based on template
CN111881385A (en) Push content generation method, device, equipment and readable storage medium
CN104834715A (en) Website generating method and system based on components and container
CN109343835A (en) A kind of rapid build business scaffold code instrumentation based on template
CN108959439A (en) A kind of data template generation method and system
CN103699746A (en) CADDS5 piping three-dimensional design method and system based on database
CN101458628A (en) Program edition management method
CN102110143A (en) Assembly facing various controls in desktop application program
CN115935909A (en) File generation method and device and electronic equipment
CN115168361A (en) Label management method and device
CN106325852A (en) Application dynamic interface customizing method
CN104407853A (en) Method for realizing TABLE multi-line simultaneous edition
CN100474297C (en) Man-machine language generating system and method thereof
CN108664604B (en) Method for realizing minimum data splitting storage and service calling presentation
CN111523296A (en) Method for generating public opinion report based on Selenium
CN111858670A (en) Intelligent risk report generation method and report system for consumption financial industry

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication

Application publication date: 20181211

WW01 Invention patent application withdrawn after publication