Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Form component generation method and device

A form and component technology, applied in the field of form component generation methods and devices, to achieve the effects of reducing troubleshooting costs, saving development resources, and avoiding grammatical errors

Active Publication Date: 2021-08-24
BEIJING KNOWNSEC INFORMATION TECH
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In order to overcome the above-mentioned deficiencies in the prior art, the purpose of this application is to provide a form component generation method and device to solve or improve the above-mentioned problems

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Form component generation method and device
  • Form component generation method and device
  • Form component generation method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0040] The following will clearly and completely describe the technical solutions in the embodiments of the present application with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of them. The components of the embodiments of the application generally described and illustrated in the figures herein may be arranged and designed in a variety of different configurations.

[0041] Accordingly, the following detailed description of the embodiments of the application provided in the accompanying drawings is not intended to limit the scope of the claimed application, but merely represents selected embodiments of the application. All other embodiments obtained by persons of ordinary skill in the art based on the embodiments in the present application without creative efforts shall fall within the protection scope of the present application.

[0042] It should ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The embodiments of the present application provide a method and device for generating a form component. The WebAPI interface is called through an HTTP interface to obtain description information of each form component item, and a corresponding JSON format file is generated. If the description of each form component item in the JSON format file is If the information meets the preset conditions, the corresponding modification rules are configured for each form component item in response to the modification rule configuration operation. Then, according to the description information and decoration rules of each form component project, the domain-specific language DSL of each form component project is generated, and the DSL of each form component project is parsed by JavaScript script, and each corresponding form component is generated. In this way, the steps of manually writing form components and manually writing interface calling codes are omitted, automatic generation of form components is realized, work efficiency of front-end development is improved, and development resources are saved. At the same time, grammatical errors caused by manual coding can be avoided, and the cost of troubleshooting can be reduced.

Description

technical field [0001] This application relates to the technical field of WBE development, in particular, to a method and device for generating a form component. Background technique [0002] At present, the most common way to develop React form components is to manually write the JSX (JavaScript XML) code of React form components according to business requirements. For example, when writing, you need to write the type and layout of the form component for each item of the form component according to the grammatical rules of React, and you also need to specify the fields of the back-end database corresponding to the form component. However, in the above solution, when the types of form components are complex and the number is large, the efficiency of manual writing is extremely low, which cannot meet the needs of rapid development iterations and timely delivery, and also wastes development resources. In addition, manual coding is prone to grammatical errors, and the cost of ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F8/30
CPCG06F8/30
Inventor 崔秋生沈龙
Owner BEIJING KNOWNSEC INFORMATION TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products