CN113050934A - Form driving intelligent development method, device and storage medium - Google Patents
Form driving intelligent development method, device and storage medium Download PDFInfo
- Publication number
- CN113050934A CN113050934A CN201911362426.0A CN201911362426A CN113050934A CN 113050934 A CN113050934 A CN 113050934A CN 201911362426 A CN201911362426 A CN 201911362426A CN 113050934 A CN113050934 A CN 113050934A
- Authority
- CN
- China
- Prior art keywords
- code
- template
- data
- information
- component
- 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.)
- Granted
Links
- 238000011161 development Methods 0.000 title claims abstract description 57
- 238000000034 method Methods 0.000 title claims abstract description 14
- 230000006978 adaptation Effects 0.000 claims abstract description 62
- 230000018109 developmental process Effects 0.000 claims abstract description 58
- 238000013499 data model Methods 0.000 claims abstract description 47
- 238000013461 design Methods 0.000 claims abstract description 21
- 238000010586 diagram Methods 0.000 claims abstract description 20
- 238000012795 verification Methods 0.000 claims abstract description 12
- 230000033772 system development Effects 0.000 claims abstract description 7
- 238000007726 management method Methods 0.000 claims description 6
- 238000000605 extraction Methods 0.000 claims description 5
- 230000010354 integration Effects 0.000 claims description 4
- 238000012423 maintenance Methods 0.000 abstract description 6
- 230000000694 effects Effects 0.000 abstract description 3
- 238000013500 data storage Methods 0.000 description 6
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 238000012360 testing method Methods 0.000 description 3
- 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
- 238000012545 processing Methods 0.000 description 1
Images
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, a device and a storage medium, wherein the development method comprises the following steps: establishing a data model and a data E-R diagram, carrying out UI prototype design, and generating form information of page elements; based on the form information, adapting and verifying the configuration information before code generation; after the form information is subjected to adaptation verification, calling a corresponding code template to automatically generate a corresponding code; and releasing the code file into a system development framework designated position for compiling to generate usable final codes. 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 the manual development generation amount is replaced, and the development and operation and maintenance cost is greatly reduced; the invention makes the code template, and can achieve the effect of multiplexing 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, a form driving intelligent development device and a storage medium.
Background
The commonly accepted basic flow of application software development is as follows: data model definition, front-end page development, back-end function development, software test modification and software release; the back-end function development is divided into a data storage layer, a business service layer and a front-end control layer. Whether the development is horizontal or vertical, the code is basically written according to the implementation of the front end and the back end, namely: the front end realizes data query browsing, adding, deleting, changing and searching operations, and the back end receives the data of the front end to process and store.
For a customized project, the development contract is low in amount, short in period, difficult to reuse and large in workload (generally accounting for more than 80% of software development workload), the traditional method adopts a 'man-sea' tactic to perform customized development, and a series of problems of code non-specification, difficult maintenance, difficult handover, high BUG rate, high cost, low reuse rate and the like are caused due to the fact that a plurality of developers participate in the development and long iteration period.
Disclosure of Invention
The invention aims to overcome the defects of the prior art, provides a form driving intelligent development method and device and a storage medium, and solves a series of problems of non-standard codes, difficult maintenance, difficult handover, high BUG rate, high cost, low reuse rate and the like caused by a plurality of developers participating in the conventional customized development and long iteration period.
The purpose of the invention is realized by the following technical scheme:
a form-driven intelligent development method comprises the following steps:
s1, establishing a data model and a data E-R diagram, designing a UI prototype, 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, based on the form information, adapting and verifying the configuration information before code generation, 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, calling a corresponding code template to automatically generate a corresponding code;
and S4, releasing the code file to a system development framework designated position for compiling to generate usable final codes.
Further, in step S1, the UI prototype design is performed, which further includes:
s101, editing a component library: respectively editing the basic component and the user-defined component on the basis of 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 and data information items of the form;
s103, attribute definition: defining attributes of the data information items, wherein the attributes comprise a data type definition, a verification type definition and a style definition;
s104, component configuration: configuring an input operation component corresponding to the data information item through a UI component library to form a binding relation model of the data information item and the group configuration;
s105, information storage: setting the format, the field and the structure of configuration information storage and service information storage.
Further, in step S2, adapting and verifying the configuration information before generating the code further includes:
s201, extracting a data model, and calling the data model of the form information, wherein the data model comprises data fields and types;
s202, adapting data types, namely adapting corresponding data types from form information;
s203, component adaptation, namely adapting a corresponding component expression from the form information, wherein the component expression is a data basis generated by a subsequent page code;
s204, code template adaptation, namely combining the data model with data type adaptation and component adaptation to prepare for generating codes.
Further, in step S3, invoking the corresponding code template, and automatically generating the corresponding code, specifically including:
s301, code template editing: editing, defining and maintaining a code template, wherein the code template comprises a data entity template, a data operation template, a service template, a control template, a UI (user interface) expression template and a function configuration script template;
s302, generating a data operation layer code: generating a data operation layer code and an xml configuration file by combining the code template, the form adaptation information and the data entity type template;
s303, generating service layer codes: combining the code template, the form adaptation information and the service type template to generate an interface type and an implementation type of a service layer;
s304, control layer code generation: generating an Action class of a service layer by combining the code template, the form adaptation information and the control template;
s305, UI expression layer code generation: generating a UI page by combining the code template, the form adaptation information and the UI expression template, wherein the UI page comprises list.html, add.html and edge.html;
s306, generating a function configuration script: and generating a function menu configuration script by combining the code template, the form adaptation information and the function configuration script template and taking the subject name of the form as a naming basis, so that the function menu configuration script is conveniently imported into a system support library and configures 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 system comprises a UI design device, a page element management device and a page element management device, wherein the UI design device is used for carrying out UI prototype design and generating form information of the page element, and 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 by taking form information as a basis, 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 the corresponding code template after the form information is subjected to adaptation verification and automatically generating the corresponding code;
the code issuing device is used for issuing the code files to a system development framework designated position for compiling and generating usable final codes;
a system integration device for configuring the automatically generated function UI call entry into a menu function of the system framework.
Further, the UI design apparatus further includes:
the component library editing module is used for editing the basic component and the user-defined component on the basis of the UI component library;
the form configuration module is used for configuring form information according to the data model and the data E-R diagram and configuring the layout and data information items of the form;
the attribute definition module is used for defining the attributes of the data information items 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 a UI component library to form a binding relation model of 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 service information storage.
Further, the form-driven development device further includes:
the data model extraction module is used for calling a data model in the form;
the data type adaptation module is used for adapting the corresponding data type from the form information;
the component adaptation module is used for adapting a corresponding component expression from the form information, wherein the component expression is a data basis generated by a subsequent page code;
and the code template adaptation module is used for combining the data model with data type adaptation and component adaptation to prepare for generating the code.
Further, the code generation apparatus further includes:
the system comprises a code template editing module, a code module editing module and a code module management module, wherein the code template editing module is used for editing, defining and maintaining a code template, and the code template comprises a data entity template, a data operation template, a service template, a control template, a UI (user interface) expression template and a function configuration script template;
the data operation layer code generation module is used for generating a data operation layer code and an xml configuration file by combining a code template, form adaptation information and a data entity type template;
the service layer code generation module is used for generating an interface class and an implementation class of a service layer by combining a code template, form adaptation information and a service class template;
the control layer code generation module is used for generating an Action class of the service layer by combining the code template, the form adaptation information and the control class template;
the UI presentation layer code generation module is used for generating a UI page by combining a code template, form adaptation information and a UI presentation type template, wherein the UI page comprises list.html, add.html and edge.html;
and the function configuration script generation module is used for generating a function menu configuration script by combining the code template, the form adaptation information and the function configuration script template and using the subject name of the form as a naming basis, so that the function menu configuration script is conveniently imported into a system support library and configures a function menu entry.
A storage medium includes a cache, a non-volatile storage medium, and a form drive development apparatus.
The invention has the beneficial effects that:
(1) generating a UI component according to the established data model and the data E-R diagram, and automatically generating codes, so that most of manual development generation is replaced, and development and operation and maintenance costs are greatly reduced;
(2) the code is automatically generated, so that the development period is greatly shortened; the development code is normalized and standardized, so that the handover and the later secondary development are facilitated;
(3) the code is made into the template, and the effect of multiplexing in other projects can be achieved through self-defining the template, so that the code is easier to maintain, and the BUG rate is greatly reduced.
Drawings
FIG. 1 is a schematic structural diagram of a form-driven development apparatus according to the present invention;
FIG. 2 is a schematic diagram of a UI design apparatus of the present invention;
FIG. 3 is a diagram of a form driven development device according to the present invention;
FIG. 4 is a schematic diagram of a code generation apparatus of the present invention;
in the figure, 10-a data model designing device, 20-a UI designing device, 30-a form driving developing device, 40-a code generating device, 50-a code issuing device and 60-a system integration configuring device.
Detailed Description
It should be noted that the drawings provided in the following embodiments are only for illustrating the basic idea of the present invention, and the components related to the present invention are only shown in the drawings rather than drawn according to the number, shape and size of the components in actual implementation, and the type, quantity and proportion of the components in actual implementation may be changed freely, and the layout of the components may be more complicated.
Example 1:
the embodiment provides a form-driven intelligent development method, which comprises the following steps:
s1, establishing a data model and a data E-R diagram, designing a UI prototype, 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, based on the form information, adapting and verifying the configuration information before code generation, 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, calling a corresponding code template to automatically generate a corresponding code;
and S4, releasing the code file to a system development framework designated position for compiling to generate usable final codes.
Further, in step S1, the UI prototype design is performed, which further includes:
s101, editing a component library: respectively editing the basic component and the user-defined component on the basis of 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 and data information items of the form;
s103, attribute definition: defining attributes of the data information items, wherein the attributes comprise a data type definition, a verification type definition and a style definition;
s104, component configuration: configuring an input operation component corresponding to the data information item through a UI component library to form a binding relation model of the data information item and the group configuration;
s105, information storage: setting the format, the field and the structure of configuration information storage and service information storage.
Further, in step S2, adapting and verifying the configuration information before generating the code further includes:
s201, extracting a data model, and calling the data model of the form information, wherein the data model comprises data fields and types;
s202, adapting data types, namely adapting corresponding data types from form information;
s203, component adaptation, namely adapting a corresponding component expression from the form information, wherein the component expression is a data basis generated by a subsequent page code;
s204, code template adaptation, namely combining the data model with data type adaptation and component adaptation to prepare for generating codes.
Further, in step S3, invoking the corresponding code template, and automatically generating the corresponding code, specifically including:
s301, code template editing: editing, defining and maintaining a code template, wherein the code template comprises a data entity template, a data operation template, a service template, a control template, a UI (user interface) expression template and a function configuration script template;
s302, generating a data operation layer code: generating a data operation layer code and an xml configuration file by combining the code template, the form adaptation information and the data entity type template;
s303, generating service layer codes: combining the code template, the form adaptation information and the service type template to generate an interface type and an implementation type of a service layer;
s304, control layer code generation: generating an Action class of a service layer by combining the code template, the form adaptation information and the control template;
s305, UI expression layer code generation: generating a UI page by combining the code template, the form adaptation information and the UI expression template, wherein the UI page comprises list.html, add.html and edge.html;
s306, generating a function configuration script: and generating a function menu configuration script by combining the code template, the form adaptation information and the function configuration script template and taking the subject name of the form as a naming basis, so that the function menu configuration script is conveniently imported into a system support library and configures a function menu entry.
According to the embodiment, 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 the manual development generation amount is replaced, and the development and operation and maintenance cost is greatly reduced.
Example 2:
the embodiment discloses a form-driven intelligent development device, as shown in fig. 1, comprising
The data model design device 10 is used for establishing a data model and a data E-R diagram;
the UI design device 20, also known as a page element designer, provides the basic form components for UI prototyping in conjunction 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 driving development device 30 prepares and collates the relevant configuration information before code generation based on the designed form information, such as: fields, types, UI components, corresponding code templates, and the like. The form driving development device comprises four parts, specifically a data model extraction module, a data type adaptation module, a component adaptation module and a code template adaptation module.
Code generation apparatus 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 generation device 40 comprises a six-part code template editing module, a data storage layer code generation module, a service layer code generation module, a control layer code generation module, a UI presentation layer code generation module and a function configuration script generation module.
The code issuing apparatus 50: five types of code files are generated by the code generation device 40, and the code files are released to the designated positions of the system development framework for compiling and generating usable final codes.
The system integration apparatus 60: and configuring the automatically generated function UI call entry into a 'menu' function of the system framework by using a function configuration script generation module configuration script.
Further, as shown in fig. 2, the UI designing apparatus 20 further includes:
the component library editing module: the module is based on a UI component library and is divided into two types of components: a base component and a custom component. The base components are common form components such as: text, checked, file, image, password, radio, etc. of the INPUT class; the self-defined component is a component which is self-developed and packaged according to specific requirements, such as: ztree. According to Table 1: the component library data model is used for editing and maintaining the component library:
table 1: component library
The form configuration module: configuring the form according to the service requirement and the UI prototype design, and configuring the layout and data information items of the form, such as: single/double row, pop-up mode, form title, theme style, corresponding business data field information, etc.
An attribute definition module: the following attributes are defined:
A. data type definition: the data information items configured by the form configuration module define the data type of each data item, such as: numeric type, string type, enumeration type, etc.;
B. the authentication type defines: the data information items configured by the form configuration device define a verification algorithm of 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: the data information items configured by the form configuration device define the display style of each data item, such as: length, width, height, color theme, etc.
A component configuration module: according to the data information items configured by the form configuration module, configuring the entry operation components corresponding to the data information items through a component library editing module component library, such as: name, corresponding text box component, etc. And forming a binding relation model between the data information item and the group configuration.
An information storage module: the device is divided into the following two modules:
A. a configuration information storage module: aiming at the configuration information of the form configuration module, the attribute definition module and the component configuration module, the data storage model is as follows in the following table 2:
table 2: data storage model
Form ID | Name of service | Component ID | Data field |
form_1 | Name (I) | ZJ_1 | Name |
form_1 | Photograph | ZJ_2 | Image_src |
form_1 | Department of department | ZJ_3 | Department_id |
B. A service information storage module: aiming at the configuration information of the form on the table, an unstructured data storage technology is adopted to automatically generate a table structure for storing business data. Configuring information according to the table, generating a table structure and a data storage model as follows:
{ "Name": 'Zhang three',
“Image_src”:“file://zhangsan.jpg”,
“Department_id”:“001”}
as shown in fig. 3, the form-driven development apparatus constitutes an explanation:
a data model extraction module: the data model of the form configured by the means of S2 is shown in the following column "data fields" in table 3:
table 3: data model
Data field | Type (B) |
Name | String |
Image_src | String |
Department_id | Integer |
A data type adaptation module: through the form configured by the UI design apparatus, the property definition module can: the attribute definition means adapts the data type for the field, and the end result is the "data model" in table 3 above.
A component adaptation module: through the form configured by the UI design apparatus, the corresponding component expression can be adapted from the component configuration apparatus, as shown in table 4 below:
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/> |
A code template adaptation module: and adapting the code template for each type of service by the data model extraction module, the data type adaptation module and the component adaptation module according to the corresponding code template to prepare for generating the code.
Code template library: a series of templates defined by the development specification.
As shown in fig. 4, the code generation apparatus is configured to:
a code template editing module: code templates are mainly classified into the following categories: data entity class, data operation class, service processing class, presentation layer control class, front end UI code, etc. Can be edited, defined and maintained as required.
The 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 driving development device and combining with the data entity type template, wherein the data operation layer code, the xml configuration file and the like comprise basic functions of data addition, modification, deletion, query and the like.
A service layer code generation module: and generating an interface class and a realization class of the service layer by utilizing the information processed by the form driving development device and combining with the service class template.
A control layer code generation module: and generating an Action class of the service layer by utilizing the information processed by the form driving development device and combining with the control class template.
The UI expression layer code generation module: generating a UI page by utilizing the information processed by the form driving development device and combining a page template, wherein the UI page comprises the following steps: html, add.
The function configuration script generation module: and generating a function menu configuration script by using the information processed by the form driving development device and using the form subject name as a naming basis, so that the function menu configuration script is conveniently imported into a system supporting 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 drive development apparatus on the basis of embodiments 1 and 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 the manual development generation amount is replaced, and the development and operation and maintenance cost is greatly reduced; the invention makes the code template, and can achieve the effect of multiplexing in other projects by self-defining the template, so that the code is easier to maintain, and the BUG rate is greatly reduced.
The above-mentioned embodiments only express the specific embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention.
Claims (9)
1. A form-driven intelligent development method is characterized by comprising the following steps:
s1, establishing a data model and a data E-R diagram, designing a UI prototype, 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, based on the form information, adapting and verifying the configuration information before code generation, 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, calling a corresponding code template to automatically generate a corresponding code;
and S4, releasing the code file to a system development framework designated position for compiling to generate usable final codes.
2. The form-driven intelligent development method of claim 1, wherein in step S1, UI prototype design is performed, further comprising:
s101, editing a component library: respectively editing the basic component and the user-defined component on the basis of 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 and data information items of the form;
s103, attribute definition: defining attributes of the data information items, wherein the attributes comprise a data type definition, a verification type definition and a style definition;
s104, component configuration: configuring an input operation component corresponding to the data information item through a UI component library to form a binding relation model of the data information item and the group configuration;
s105, information storage: setting the format, the field and the structure of configuration information storage and service information storage.
3. The form-driven intelligent development method of claim 1, wherein in step S2, adapting and verifying the configuration information before generating the code further comprises:
s201, extracting a data model, and calling the data model of the form information, wherein the data model comprises data fields and types;
s202, adapting data types, namely adapting corresponding data types from form information;
s203, component adaptation, namely adapting a corresponding component expression from the form information, wherein the component expression is a data basis generated by a subsequent page code;
s204, code template adaptation, namely combining the data model with data type adaptation and component adaptation to prepare for generating codes.
4. The form-driven intelligent development method of claim 1, wherein in step S3, the corresponding code template is called, and the corresponding code is automatically generated, specifically including:
s301, code template editing: editing, defining and maintaining a code template, wherein the code template comprises a data entity template, a data operation template, a service template, a control template, a UI (user interface) expression template and a function configuration script template;
s302, generating a data operation layer code: generating a data operation layer code and an xml configuration file by combining the code template, the form adaptation information and the data entity type template;
s303, generating service layer codes: combining the code template, the form adaptation information and the service type template to generate an interface type and an implementation type of a service layer;
s304, control layer code generation: generating an Action class of a service layer by combining the code template, the form adaptation information and the control template;
s305, UI expression layer code generation: generating a UI page by combining the code template, the form adaptation information and the UI expression template, wherein the UI page comprises list.html, add.html and edge.html;
s306, generating a function configuration script: and generating a function menu configuration script by combining the code template, the form adaptation information and the function configuration script template and taking the subject name of the form as a naming basis, so that the function menu configuration script is conveniently imported into a system support library and configures a function menu entry.
5. A form-driven intelligent 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 system comprises a UI design device, a page element management device and a page element management device, wherein the UI design device is used for carrying out UI prototype design and generating form information of the page element, and 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 by taking form information as a basis, 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 the corresponding code template after the form information is subjected to adaptation verification and automatically generating the corresponding code;
the code issuing device is used for issuing the code files to a system development framework designated position for compiling and generating usable final codes;
a system integration device for configuring the automatically generated function UI call entry into a menu function of the system framework.
6. The form driven intelligent development device of claim 5, wherein the UI design device further comprises:
the component library editing module is used for editing the basic component and the user-defined component on the basis of the UI component library;
the form configuration module is used for configuring form information according to the data model and the data E-R diagram and configuring the layout and data information items of the form;
the attribute definition module is used for defining the attributes of the data information items 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 a UI component library to form a binding relation model of 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 service information storage.
7. The form-driven intelligent development device of claim 5, wherein the form-driven development device further comprises:
the data model extraction module is used for calling a data model in the form;
the data type adaptation module is used for adapting the corresponding data type from the form information;
the component adaptation module is used for adapting a corresponding component expression from the form information, wherein the component expression is a data basis generated by a subsequent page code;
and the code template adaptation module is used for combining the data model with data type adaptation and component adaptation to prepare for generating the code.
8. The form driven intelligent development apparatus of claim 5, wherein the code generation apparatus further comprises:
the system comprises a code template editing module, a code module editing module and a code module management module, wherein the code template editing module is used for editing, defining and maintaining a code template, and the code template comprises a data entity template, a data operation template, a service template, a control template, a UI (user interface) expression template and a function configuration script template;
the data operation layer code generation module is used for generating a data operation layer code and an xml configuration file by combining a code template, form adaptation information and a data entity type template;
the service layer code generation module is used for generating an interface class and an implementation class of a service layer by combining a code template, form adaptation information and a service class template;
the control layer code generation module is used for generating an Action class of the service layer by combining the code template, the form adaptation information and the control class template;
the UI presentation layer code generation module is used for generating a UI page by combining a code template, form adaptation information and a UI presentation type template, wherein the UI page comprises list.html, add.html and edge.html;
and the function configuration script generation module is used for generating a function menu configuration script by combining the code template, the form adaptation information and the function configuration script template and using the subject name of the form as a naming basis, so that the function menu configuration script is conveniently imported into a system support library and configures a function menu entry.
9. A storage medium comprising a cache, a non-volatile storage medium, and the form driven intelligent development apparatus of claims 5-8.
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 true CN113050934A (en) | 2021-06-29 |
CN113050934B 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) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2023143151A1 (en) * | 2022-01-27 | 2023-08-03 | 阿里云计算有限公司 | Code development methods, 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快速原型构建与自动代码生成", 计算机技术与发展, no. 05 * |
姚素红;: "基于Java的Web应用系统开发模式", 江苏工程职业技术学院学报, no. 01 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2023143151A1 (en) * | 2022-01-27 | 2023-08-03 | 阿里云计算有限公司 | Code development methods, server and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN113050934B (en) | 2023-12-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN114035773B (en) | Configuration-based low-code form development method, system and device | |
CN103135976B (en) | code automatic generation method and device | |
CN109582647B (en) | Unstructured evidence file oriented analysis method and system | |
CN101504672B (en) | Method and system for dynamically configuring physical data table | |
CN106547681B (en) | Method and device for testing data automatic loading and multiplexing simulation service | |
US10255152B2 (en) | Generating test data | |
CN103593456B (en) | Worksheet self-defining method for designing and device | |
CN115712413B (en) | Low code development method, device, equipment and storage medium | |
CN102495832A (en) | System for automatically generating document in software development process | |
CN103051652B (en) | A kind of mobile terminal cloud computing distribution platform | |
CN104020997A (en) | Extensible graphical rule application system | |
CN101149737A (en) | Method for quickly establishing web form and automatically establishing corresponding data table in database through Microsoft Word | |
CN106407170A (en) | Rapid generation method and system for data report | |
CN103186632A (en) | Method and device for customizing operation and maintenance form | |
CN109445794B (en) | Page construction method and device | |
CN105761007A (en) | Information management software design aiding method and information management software design aiding system | |
CN107330014B (en) | Data table creating method and device | |
CN106446292A (en) | Front-end data two-way binding achieving method and device | |
CN108469953A (en) | A kind of generation method of page table list, server and storage medium | |
CN109213480A (en) | A kind of method, storage medium, equipment and system for developing the back-stage management page | |
CN105450656A (en) | APP data configuration method, device, server and system | |
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 | |
CN114168117A (en) | Credit low-code development tool based on designer and storage device | |
TWI629602B (en) | Method for automatically generating website interactive program |
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 |