CN113050934B - Form driving intelligent development method and device and storage medium - Google Patents
Form driving intelligent development method and device and storage medium Download PDFInfo
- Publication number
- CN113050934B CN113050934B CN201911362426.0A CN201911362426A CN113050934B CN 113050934 B CN113050934 B CN 113050934B CN 201911362426 A CN201911362426 A CN 201911362426A CN 113050934 B CN113050934 B CN 113050934B
- Authority
- CN
- China
- Prior art keywords
- code
- data
- information
- template
- configuration
- 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.)
- Active
Links
- 238000011161 development Methods 0.000 title claims abstract description 49
- 238000000034 method Methods 0.000 title claims abstract description 10
- 230000006978 adaptation Effects 0.000 claims abstract description 56
- 230000018109 developmental process Effects 0.000 claims abstract description 50
- 238000013499 data model Methods 0.000 claims abstract description 48
- 238000013461 design Methods 0.000 claims abstract description 25
- 238000010586 diagram Methods 0.000 claims abstract description 20
- 238000012795 verification Methods 0.000 claims abstract description 16
- 230000033772 system development Effects 0.000 claims abstract description 7
- 230000014509 gene expression Effects 0.000 claims description 24
- 238000000605 extraction Methods 0.000 claims description 5
- 230000010354 integration Effects 0.000 claims description 4
- 230000000694 effects Effects 0.000 abstract description 3
- 238000013500 data storage Methods 0.000 description 6
- 238000012360 testing method Methods 0.000 description 3
- 238000012423 maintenance Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 101100096985 Mus musculus Strc gene Proteins 0.000 description 1
- 238000007792 addition Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004422 calculation algorithm Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000012217 deletion Methods 0.000 description 1
- 230000037430 deletion Effects 0.000 description 1
- 230000001788 irregular Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/35—Creation or generation of source code model driven
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/38—Creation or generation of source code for implementing user interfaces
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Stored Programmes (AREA)
Abstract
The invention discloses a form driving intelligent development method and device as well as a storage medium, wherein the development method comprises the following steps: establishing a data model and a data E-R diagram, performing UI original shape design, and generating form information of page elements; adapting and verifying configuration information before code generation based on form information; after the form information is subjected to adaptation verification, a corresponding code template is called, and a corresponding code is automatically generated; the code file is published into a system development framework designated location for compilation to generate a usable final code. According to the invention, the UI component is generated according to the established data model and the data E-R diagram, and the code is automatically generated, so that most of artificial development generation quantity is replaced, and development and operation cost is greatly reduced; the invention makes the code templated, and can achieve the multiplexing effect in other projects by self-defining the template, so that the code is easier to maintain, and the BUG rate is greatly reduced.
Description
Technical Field
The invention relates to the technical field of electronic information, in particular to a form driving intelligent development method and device and a storage medium.
Background
The general and accepted basic flow of application software development is as follows: defining a data model, developing a front-end page, developing a back-end function, modifying a software test, and releasing software; the back-end function development is divided into a data storage layer, a business service layer and a front-end control layer. Whether "landscape" development or "portrait" development, code is written essentially as described above for implementing "front-end" and "back-end", namely: the front end realizes the operations of data query browsing, adding, deleting, changing and searching, and the back end receives the front end data for processing and storing.
For a custom project, the development contracts are low in volume, short in period, difficult to multiplex and large in workload (generally more than 80% of software development workload), custom development is carried out by adopting a 'man-sea' tactic in the traditional method, and a series of problems of irregular codes, difficult maintenance, difficult handover, high BUG rate, high cost, low multiplexing rate and the like are caused due to the fact that more people participate in the development and the iteration period is long.
Disclosure of Invention
The invention aims to overcome the defects of the prior art, provide a form driving intelligent development method and device and a storage medium, and solve a series of problems of nonstandard codes, difficult maintenance, difficult handover, high BUG rate, high cost, low multiplexing rate and the like caused by a plurality of developers participating in the existing custom development and long iteration period.
The aim of the invention is realized by the following technical scheme:
a form driving intelligent development method comprises the following steps:
s1, establishing a data model and a data E-R diagram, performing UI original shape design, and generating form information of page elements, wherein the form information comprises component library editing information, form configuration, attribute definition, component configuration and information storage;
s2, adapting and verifying configuration information before code generation based on the form information, wherein the configuration information comprises fields, types, UI components and code templates corresponding to the form information;
s3, after the form information is subjected to adaptation verification, a corresponding code template is called, and a corresponding code is automatically generated;
s4, the code file is released to a designated position of the system development framework for compiling and generating a usable final code.
Further, in step S1, the UI primitive design is performed, which further includes:
s101, editing a component library: editing a basic component and a custom component respectively based on the UI component library;
s102, form configuration: configuring form information according to the data model and the data E-R diagram, and configuring the layout of the form and data information items;
s103, attribute definition: defining attributes of the data information items, including data type definition, verification type definition and style definition;
s104, component configuration: configuring an input operation component corresponding to the data information item through a UI component library to form a data information item and group configuration binding relation model;
s105, information storage: the format, fields and structure of the configuration information store and the service information store are set.
Further, in step S2, the configuration information before the adaptation and verification code generation further includes:
s201, extracting a data model, and retrieving a data model of form information, wherein the data model comprises data fields and types;
s202, adapting the data types, wherein the corresponding data types are adapted from the form information;
s203, adapting the components, wherein corresponding component expressions are adapted from the form information, and the component expressions are data bases generated by subsequent page codes;
s204, adapting a code template, combining the data model with data type adaptation and component adaptation, and preparing for generating codes.
Further, in step S3, a corresponding code template is called to automatically generate a corresponding code, which specifically includes:
s301, editing a code template: editing, defining and maintaining a code template, wherein the code template comprises a data entity class template, a data operation class template, a service class template, a control class template, a UI expression class template and a function configuration script class template;
s302, generating a data operation layer code: combining the code template, the form adaptation information and the data entity class template to generate a data operation layer code and an xml configuration file;
s303, service layer code generation: combining the code template, the form adaptation information and the service class template to generate an interface class and an implementation class of the service layer;
s304, control layer code generation: generating an Action class of the service layer by combining the code template, the form adaptation information and the control class template;
s305, UI expression layer code generation: generating a UI page by combining a code template, form adaptation information and a UI expression class template, wherein the UI page comprises list. Html, add. Html, and wait. Html;
s306, generating a function configuration script: and combining the code template, the form adaptation information and the function configuration script template, taking the form theme name as a naming basis, generating a function menu configuration script, conveniently importing the function menu configuration script into a system support library, and configuring a function menu entry.
A form-driven intelligent development device comprises
The data model design device is used for establishing a data model and a data E-R diagram;
the UI design device is used for carrying out UI original shape design and generating form information of page elements, wherein the form information comprises component library editing information, form configuration, attribute definition, component configuration and information storage;
the form driving development device is used for adapting and verifying configuration information before code generation based on the form information, wherein the configuration information comprises fields, types, UI components and code templates corresponding to the form information;
the code generation device is used for calling a corresponding code template after the form information is subjected to adaptation verification, and automatically generating a corresponding code;
code issuing means for issuing the code files into specified locations of the system development framework for compilation to generate usable final codes;
and the system integration device is used for configuring the automatically generated function UI call entrance into the menu function of the system framework.
Further, the UI design device further includes:
the assembly library editing module is used for editing the basic assembly and the custom assembly respectively on the basis of the UI assembly library;
the form configuration module is used for configuring form information according to the data model and the data E-R diagram, and configuring layout and data information items of the form;
the attribute definition module is used for defining the attribute of the data information item and comprises a data type definition, a verification type definition and a style definition;
the component configuration module is used for configuring an input operation component corresponding to the data information item through the UI component library to form a binding relation model between the data information item and the group configuration;
and the information storage module is used for editing or setting the format, the field and the structure of configuration information storage and business information storage.
Further, the form driver development device further includes:
the data model extraction module is used for calling the data model in the form;
the data type adapting module is used for adapting the corresponding data type from the form information;
the component adaptation module is used for adapting corresponding component expressions from the form information, wherein the component expressions are data bases generated by subsequent page codes;
and the code template adaptation module is used for combining the data model with the data type adaptation and the component adaptation to prepare for generating codes.
Further, the code generating apparatus further includes:
the code template editing module is used for editing, defining and maintaining a code template, and the code template comprises a data entity class template, a data operation class template, a service class template, a control class template, a UI expression class template and a function configuration script class template;
the data operation layer code generation module is used for combining the code template, the form adaptation information and the data entity class template to generate a data operation layer code and an xml configuration file;
the service layer code generation module is used for combining the code template, the form adaptation information and the service class template to generate an interface class and an implementation class of the service layer;
the control layer code generation module is used for combining the code template, the form adaptation information and the control class template to generate an Action class of the service layer;
the UI presentation layer code generation module is used for combining the code template, the form adaptation information and the UI presentation class template to generate a UI page, wherein the UI page comprises list. Html, add. Html and wait. Html;
the function configuration script generation module is used for combining the code template, the form adaptation information and the function configuration script template, generating a function menu configuration script by taking the form theme name as a naming basis, and conveniently importing the function menu configuration script into a system support library to configure a function menu entry.
A storage medium includes a cache, a non-volatile storage medium, and a form driver development device.
The beneficial effects of the invention are as follows:
(1) The UI component is generated according to the established data model and the data E-R diagram, and the code is automatically generated, so that most of manual development generation quantity is replaced, and development and operation cost is greatly reduced;
(2) The code is automatically generated, so that the development period is greatly shortened; the development codes are normalized and standardized, so that the handover and the later secondary development are convenient;
(3) The code is templated, and the multiplexing effect in other projects can be achieved through the custom template, so that the code is easier to maintain, and the BUG rate is greatly reduced.
Drawings
FIG. 1 is a schematic diagram of a form driver development device of the present invention;
FIG. 2 is a schematic diagram of a UI design apparatus of the present invention;
FIG. 3 is a schematic diagram of a form-driven development device of the present invention;
FIG. 4 is a schematic diagram of a code generating apparatus of the present invention;
in the figure, 10-data model designing means, 20-UI designing means, 30-form drive developing means, 40-code generating means, 50-code issuing means, 60-system integration configuration means.
Detailed Description
It should be noted that the illustrations provided in the following embodiments merely illustrate the basic concept of the present invention by way of illustration, and only the components related to the present invention are shown in the drawings and are not drawn according to the number, shape and size of the components in actual implementation, and the form, number and proportion of the components in actual implementation may be arbitrarily changed, and the layout of the components may be more complicated.
Example 1:
the embodiment provides a form driving intelligent development method, which comprises the following steps:
s1, establishing a data model and a data E-R diagram, performing UI original shape design, and generating form information of page elements, wherein the form information comprises component library editing information, form configuration, attribute definition, component configuration and information storage;
s2, adapting and verifying configuration information before code generation based on the form information, wherein the configuration information comprises fields, types, UI components and code templates corresponding to the form information;
s3, after the form information is subjected to adaptation verification, a corresponding code template is called, and a corresponding code is automatically generated;
s4, the code file is released to a designated position of the system development framework for compiling and generating a usable final code.
Further, in step S1, the UI primitive design is performed, which further includes:
s101, editing a component library: editing a basic component and a custom component respectively based on the UI component library;
s102, form configuration: configuring form information according to the data model and the data E-R diagram, and configuring the layout of the form and data information items;
s103, attribute definition: defining attributes of the data information items, including data type definition, verification type definition and style definition;
s104, component configuration: configuring an input operation component corresponding to the data information item through a UI component library to form a data information item and group configuration binding relation model;
s105, information storage: the format, fields and structure of the configuration information store and the service information store are set.
Further, in step S2, the configuration information before the adaptation and verification code generation further includes:
s201, extracting a data model, and retrieving a data model of form information, wherein the data model comprises data fields and types;
s202, adapting the data types, wherein the corresponding data types are adapted from the form information;
s203, adapting the components, wherein corresponding component expressions are adapted from the form information, and the component expressions are data bases generated by subsequent page codes;
s204, adapting a code template, combining the data model with data type adaptation and component adaptation, and preparing for generating codes.
Further, in step S3, a corresponding code template is called to automatically generate a corresponding code, which specifically includes:
s301, editing a code template: editing, defining and maintaining a code template, wherein the code template comprises a data entity class template, a data operation class template, a service class template, a control class template, a UI expression class template and a function configuration script class template;
s302, generating a data operation layer code: combining the code template, the form adaptation information and the data entity class template to generate a data operation layer code and an xml configuration file;
s303, service layer code generation: combining the code template, the form adaptation information and the service class template to generate an interface class and an implementation class of the service layer;
s304, control layer code generation: generating an Action class of the service layer by combining the code template, the form adaptation information and the control class template;
s305, UI expression layer code generation: generating a UI page by combining a code template, form adaptation information and a UI expression class template, wherein the UI page comprises list. Html, add. Html, and wait. Html;
s306, generating a function configuration script: and combining the code template, the form adaptation information and the function configuration script template, taking the form theme name as a naming basis, generating a function menu configuration script, conveniently importing the function menu configuration script into a system support library, and configuring a function menu entry.
The UI component can be generated according to the established data model and the data E-R diagram, and the code can be automatically generated, so that most of artificial development generation quantity is replaced, and development and operation cost is greatly reduced.
Example 2:
the embodiment discloses a form driving intelligent development device, as shown in fig. 1, comprising
A data model design device 10, wherein the data model design device 10 is used for establishing a data model and a data E-R diagram;
the UI design means 20, also called page element designer, provides the basic form components, and performs UI primitive design in combination with the user front-end presentation requirements and the data model in S1. The UI design device comprises five parts, namely a component library editing module, a form configuration module, an attribute definition module, a component configuration module and an information storage module;
the form driver development device 30 prepares and collates relevant configuration information before code generation based on the designed form information, such as: fields, types, UI components, corresponding code templates, etc. The form driving development device comprises four parts, namely a data model extraction module, a data type adaptation module, a component adaptation module and a code template adaptation module.
Code generating means 40: and calling a corresponding code template according to the information adapted by the form driving development device, and automatically generating a corresponding code. The code generating device 40 includes a six-part code template editing module, a data storage layer code generating module, a service layer code generating module, a control layer code generating module, a UI expression layer code generating module, and a function configuration script generating module.
Code issuing apparatus 50: five types of code files are generated by the code generating device 40, and are released to the designated positions of the system development framework for compiling to generate available final codes.
System integration device 60: and configuring a script by utilizing a function configuration script generation module, and configuring the automatically generated function UI call entry into a menu function of the system framework.
Further, as shown in fig. 2, the UI design device 20 further includes:
and the component library editing module: the module is based on a UI component library, and comprises two types of components: a base component and a custom component. The base components are commonly used form components such as: text, checked, file, image, password, radio of the INPUT class, etc.; the self-defined component is a component which is self-developed and packaged according to specific requirements, such as: ztree. According to table 1: component library data model, editing and maintaining component library:
table 1: component library
Form configuration module: form configuration is carried out according to service requirements and UI original shape design, and the layout and data information items of the form are configured, such as: single/double column, pop-up mode, form title, theme style, corresponding industry data field information, etc.
Attribute definition module: the following properties are defined:
A. data type definition: data information items configured by the form configuration module define data types of each data item, such as: number type, string type, enumeration type, etc.;
B. verification type definition: data information items configured by the form configuration means define a verification algorithm for each data item, such as: whether the mail box is empty, a mail box input format, a mobile phone number format and the like;
style definition: data information items configured by the form configuration means define a display style of each data item, such as: length, width, height, and color theme, etc.
Component configuration module: the data information items configured according to the form configuration module are edited by the component library editing module component library, and input operation components corresponding to the data information items are configured, for example: name, corresponding text box component, etc. And forming a binding relation model of the data information items and the group configuration.
An information storage module: the device is divided into two modules:
A. a configuration information storage module: the data storage model is shown in the following table 2 aiming at the configuration information of the form configuration module, the attribute definition module and the component configuration module:
table 2: data storage model
Form ID | Service name | Component ID | Data field |
form_1 | Name of name | ZJ_1 | Name |
form_1 | Photograph of a person | ZJ_2 | Image_src |
form_1 | Department(s) | ZJ_3 | Department_id |
B. The business information storage module: for the configuration information of the above forms, an unstructured data storage technology is adopted to automatically generate a table structure for storing service data. According to the table configuration information, a table structure and a data storage model are generated as follows:
{ "Name": "Zhang san",
“Image_src”:“file://zhangsan.jpg”,
“Department_id”:“001”}
as shown in fig. 3, the form drive development device constitutes an explanation:
and a data model extraction module: the form configured by the S2 device may have extracted therefrom a data model of the form as listed in the "data field" column of table 3 below:
table 3: data model
Data field | Type(s) |
Name | String |
Image_src | String |
Department_id | Integer |
A data type adapting module: the form configured by the UI design device may be defined by the attribute definition module: the attribute definition means adapts the data type for the field, the final result being "data model" as in table 3 above.
And a component adapting module: the corresponding component expressions can be adapted from the component configuration apparatus through the form configured by the UI design apparatus as follows in table 4:
table 4: component adaptation
Data field | Component expression |
Name | <input type=“text”test/> |
Image_src | <img strc=“#Image_src”test/> |
Department_id | <input type=“text”test/> |
Code template adaptation module: and adapting the code templates for each type of service by combining the corresponding code templates through the data model extraction module, the data type adaptation module and the component adaptation module adaptation information, and preparing for generating codes.
Code template library: a series of templates defined in terms of development specifications.
As shown in fig. 4, the code generating device is configured to:
a code template editing module: code templates are mainly classified into the following categories: a data entity class, a data operation class, a business processing class, a presentation layer control class, a front end UI code, and the like. May be edited, defined, and maintained as desired.
A data operation layer code generation module: and generating a data operation layer code, an xml configuration file and the like by utilizing the information processed by the form drive development device and combining with the data entity class template, wherein the data operation layer code and the xml configuration file comprise basic functions such as data addition, modification, deletion, inquiry and the like.
Service layer code generation module: and generating interface class and implementation class of the service layer by combining the information processed by the form drive development device with the service class template.
Control layer code generation module: and generating an Action class of the service layer by combining the information processed by the form drive development device with the control class template.
The UI presentation layer code generation module: the information processed by the form driving development device is combined with a page template to generate a UI page, which comprises the following steps: list. Html, add. Html, wait. Html, etc.
A function configuration script generation module: and generating a function menu configuration script by using the information processed by the form drive development device and taking the form theme name as a naming basis, so that the function menu configuration script is conveniently imported into a system support library, and a function menu entry is configured.
Example 3:
the present embodiment discloses a storage medium including a cache, a nonvolatile storage medium, and a form driver development device on the basis of embodiment 1 and embodiment 2.
According to the invention, the UI component is generated according to the established data model and the data E-R diagram, and the code is automatically generated, so that most of artificial development generation quantity is replaced, and development and operation cost is greatly reduced; the invention makes the code templated, and can achieve the multiplexing effect in other projects by self-defining the template, so that the code is easier to maintain, and the BUG rate is greatly reduced.
The foregoing examples merely illustrate specific embodiments of the invention, which are described in greater detail and are not to be construed as limiting the scope of the invention. It should be noted that it will be apparent to those skilled in the art that several variations and modifications can be made without departing from the spirit of the invention, which are all within the scope of the invention.
Claims (3)
1. The intelligent form driving development method is characterized by comprising the following steps:
s1, establishing a data model and a data E-R diagram, performing UI original shape design, and generating form information of page elements, wherein the form information comprises component library editing information, form configuration, attribute definition, component configuration and information storage;
s2, adapting and verifying configuration information before code generation based on the form information, wherein the configuration information comprises fields, types, UI components and code templates corresponding to the form information;
s3, after the form information is subjected to adaptation verification, a corresponding code template is called, and a corresponding code is automatically generated;
s4, releasing the code file to a designated position of a system development framework for compiling to generate a usable final code; in step S1, UI primitive design is performed, which further includes:
s101, editing a component library: editing a basic component and a custom component respectively based on the UI component library;
s102, form configuration: configuring form information according to the data model and the data E-R diagram, and configuring the layout of the form and data information items;
s103, attribute definition: defining attributes of the data information items, including data type definition, verification type definition and style definition;
s104, component configuration: configuring an input operation component corresponding to the data information item through a UI component library to form a data information item and group configuration binding relation model;
s105, information storage: setting formats, fields and structures of configuration information storage and service information storage;
in step S2, the configuration information before the adaptation and verification code generation further includes:
s201, extracting a data model, and retrieving a data model of form information, wherein the data model comprises data fields and types;
s202, adapting the data types, wherein the corresponding data types are adapted from the form information;
s203, adapting the components, wherein corresponding component expressions are adapted from the form information, and the component expressions are data bases generated by subsequent page codes;
s204, adapting a code template, combining a data model with data type adaptation and component adaptation, and preparing a generated code;
in step S3, a corresponding code template is called, and a corresponding code is automatically generated, which specifically includes:
s301, editing a code template: editing, defining and maintaining a code template, wherein the code template comprises a data entity class template, a data operation class template, a service class template, a control class template, a UI expression class template and a function configuration script class template;
s302, generating a data operation layer code: combining the code template, the form adaptation information and the data entity class template to generate a data operation layer code and an xml configuration file;
s303, service layer code generation: combining the code template, the form adaptation information and the service class template to generate an interface class and an implementation class of the service layer;
s304, control layer code generation: generating an Action class of the service layer by combining the code template, the form adaptation information and the control class template;
s305, UI expression layer code generation: generating a UI page by combining a code template, form adaptation information and a UI expression class template, wherein the UI page comprises list. Html, add. Html, and wait. Html;
s306, generating a function configuration script: and combining the code template, the form adaptation information and the function configuration script template, taking the form theme name as a naming basis, generating a function menu configuration script, conveniently importing the function menu configuration script into a system support library, and configuring a function menu entry.
2. The intelligent form driving development device is characterized by comprising
The data model design device is used for establishing a data model and a data E-R diagram;
the UI design device is used for carrying out UI original shape design and generating form information of page elements, wherein the form information comprises component library editing information, form configuration, attribute definition, component configuration and information storage;
the form driving development device is used for adapting and verifying configuration information before code generation based on the form information, wherein the configuration information comprises fields, types, UI components and code templates corresponding to the form information;
the code generation device is used for calling a corresponding code template after the form information is subjected to adaptation verification, and automatically generating a corresponding code;
code issuing means for issuing the code files into specified locations of the system development framework for compilation to generate usable final codes;
a system integration means for configuring an automatically generated function UI call portal into a menu function of a system framework;
the UI design device further includes:
the assembly library editing module is used for editing the basic assembly and the custom assembly respectively on the basis of the UI assembly library;
the form configuration module is used for configuring form information according to the data model and the data E-R diagram, and configuring layout and data information items of the form;
the attribute definition module is used for defining the attribute of the data information item and comprises a data type definition, a verification type definition and a style definition;
the component configuration module is used for configuring an input operation component corresponding to the data information item through the UI component library to form a binding relation model between the data information item and the group configuration;
the information storage module is used for editing or setting formats, fields and structures of configuration information storage and service information storage;
the form driver development device further includes:
the data model extraction module is used for calling the data model in the form;
the data type adapting module is used for adapting the corresponding data type from the form information;
the component adaptation module is used for adapting corresponding component expressions from the form information, wherein the component expressions are data bases generated by subsequent page codes;
the code template adaptation module is used for combining the data model with the data type adaptation and the component adaptation to prepare a generated code;
the code generation apparatus further includes:
the code template editing module is used for editing, defining and maintaining a code template, and the code template comprises a data entity class template, a data operation class template, a service class template, a control class template, a UI expression class template and a function configuration script class template;
the data operation layer code generation module is used for combining the code template, the form adaptation information and the data entity class template to generate a data operation layer code and an xml configuration file;
the service layer code generation module is used for combining the code template, the form adaptation information and the service class template to generate an interface class and an implementation class of the service layer;
the control layer code generation module is used for combining the code template, the form adaptation information and the control class template to generate an Action class of the service layer;
the UI presentation layer code generation module is used for combining the code template, the form adaptation information and the UI presentation class template to generate a UI page, wherein the UI page comprises list. Html, add. Html and wait. Html;
the function configuration script generation module is used for combining the code template, the form adaptation information and the function configuration script template, generating a function menu configuration script by taking the form theme name as a naming basis, and conveniently importing the function menu configuration script into a system support library to configure a function menu entry.
3. A storage medium comprising a cache, a non-volatile storage medium, and the form-driven intelligent development device of claim 2.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911362426.0A CN113050934B (en) | 2019-12-26 | 2019-12-26 | Form driving intelligent development method and device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911362426.0A CN113050934B (en) | 2019-12-26 | 2019-12-26 | Form driving intelligent development method and device and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113050934A CN113050934A (en) | 2021-06-29 |
CN113050934B true CN113050934B (en) | 2023-12-26 |
Family
ID=76505932
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911362426.0A Active CN113050934B (en) | 2019-12-26 | 2019-12-26 | Form driving intelligent development method and device and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113050934B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114564176B (en) * | 2022-01-27 | 2023-08-22 | 阿里云计算有限公司 | Code development method, server and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103473108A (en) * | 2013-08-12 | 2013-12-25 | 福建富士通信息软件有限公司 | Java code generating method |
CN103853543A (en) * | 2012-12-07 | 2014-06-11 | 北京云天时空科技有限公司 | Method used for quickly constructing forms in enterprise information system development process |
WO2015078343A1 (en) * | 2013-11-27 | 2015-06-04 | 张洁 | Development method for web development system, and web development system |
KR101572509B1 (en) * | 2014-05-28 | 2015-11-30 | (주)에이시에스 | the operating method of user interface framework for web-based application construction |
CN109634593A (en) * | 2018-04-17 | 2019-04-16 | 广东电网有限责任公司 | A kind of code automatic generation method |
CN109783084A (en) * | 2019-01-18 | 2019-05-21 | 广州思坦德计算机信息科技有限公司 | A kind of computer code automatic generation method, system, device and storage medium |
-
2019
- 2019-12-26 CN CN201911362426.0A patent/CN113050934B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103853543A (en) * | 2012-12-07 | 2014-06-11 | 北京云天时空科技有限公司 | Method used for quickly constructing forms in enterprise information system development process |
CN103473108A (en) * | 2013-08-12 | 2013-12-25 | 福建富士通信息软件有限公司 | Java code generating method |
WO2015078343A1 (en) * | 2013-11-27 | 2015-06-04 | 张洁 | Development method for web development system, and web development system |
KR101572509B1 (en) * | 2014-05-28 | 2015-11-30 | (주)에이시에스 | the operating method of user interface framework for web-based application construction |
CN109634593A (en) * | 2018-04-17 | 2019-04-16 | 广东电网有限责任公司 | A kind of code automatic generation method |
CN109783084A (en) * | 2019-01-18 | 2019-05-21 | 广州思坦德计算机信息科技有限公司 | A kind of computer code automatic generation method, system, device and storage medium |
Non-Patent Citations (2)
Title |
---|
中小MIS快速原型构建与自动代码生成;周兵;许俊;吴亚平;;计算机技术与发展(第05期);全文 * |
基于Java的Web应用系统开发模式;姚素红;;江苏工程职业技术学院学报(第01期);全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN113050934A (en) | 2021-06-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN114035773B (en) | Configuration-based low-code form development method, system and device | |
US10255152B2 (en) | Generating test data | |
CN115617327A (en) | Low code page building system, method and computer readable storage medium | |
CN103051652B (en) | A kind of mobile terminal cloud computing distribution platform | |
CN112015412A (en) | Device and method for generating business model based on form engine | |
CN101499069A (en) | Internal memory database file updating method and apparatus | |
CN102360290A (en) | Form building device and form building method | |
CN102495832A (en) | System for automatically generating document in software development process | |
WO2019161645A1 (en) | Shell-based data table extraction method, terminal, device, and storage medium | |
CN107330014B (en) | Data table creating method and device | |
CN109445794B (en) | Page construction method and device | |
CN107103035B (en) | Local table data updating method and device | |
CN101714078A (en) | Code generation method and device | |
CN101901265A (en) | Objectification management system of virtual test data | |
CN102156640A (en) | Method for generating data operation code | |
CN106558105A (en) | Using method of the product Configurable BOM in virtual reality system | |
CN112506505A (en) | Method for producing program code by code template engine | |
CN109213480A (en) | A kind of method, storage medium, equipment and system for developing the back-stage management page | |
CN113050934B (en) | Form driving intelligent development method and device and storage medium | |
CN114443015A (en) | Method for generating adding, deleting, modifying and checking service interface based on database metadata | |
CN113641719A (en) | Data processing method, data processing device, computer and storage medium | |
CN114168117A (en) | Credit low-code development tool based on designer and storage device | |
TWI629602B (en) | Method for automatically generating website interactive program | |
CN113031944B (en) | Business opening device and method based on template | |
CN113190218A (en) | Target operation function generation method and device |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |