Dynamic creation method and system for page elements

A technology of dynamic creation of page elements, applied in the direction of user interface execution, instrumentation, calculation, etc., can solve problems such as function inability to realize, increase development workload, increase project cost, etc., and achieve the effect of reducing cost and workload

Active Publication Date: 2022-08-02
金现代信息产业股份有限公司
View PDF14 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the usage scenario of the low-code development platform, the development of many pages may not fully meet the needs of users, and users need to manually write code to achieve. For some pages, 80% can be realized through low-code, and only 20% of the functions It cannot be realized. At this time, the developer writes the code to realize the function, which greatly increases the development workload and increases the project cost.

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
  • Dynamic creation method and system for page elements

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0025] This embodiment provides a method for dynamically creating page elements;

[0026] like figure 1 As shown, the dynamic creation methods of page elements, including:

[0027] S101: Obtain a page element to be inserted and a position where the page element is to be inserted;

[0028] S102: call a corresponding tool function according to the position where the page element is to be inserted, so as to realize the insertion of the page element into the overall page;

[0029] S103: The page element is regarded as a child component, and the entire page is regarded as a parent component; the child component passes its own parameters to the parent component; the parent component passes its own parameters to the child component;

[0030] S104: Render the entire page.

[0031] Further, the page elements to be inserted include: vue components.

[0032] A vue component is a custom, reusable Vue instance with a non-repeatable name that can be used as an HTML custom element.

[0...

Embodiment 2

[0068] This embodiment provides a dynamic creation system for page elements;

[0069] Dynamic creation system for page elements, including:

[0070] an acquisition module, which is configured to: acquire the page element to be inserted and the position where the page element is to be inserted;

[0071] a function calling module, which is configured to: call the corresponding tool function according to the position where the page element is to be inserted, so as to realize the insertion of the page element into the overall page;

[0072] A parameter passing module, which is configured to: regard the page element as a child component, and regard the whole page as a parent component; the child component passes its own parameters to the parent component; the parent component passes its own parameters to the child component;

[0073] Rendering module, which is configured to: render the overall page.

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 invention relates to the technical field of electrical digital data processing, and discloses a page element dynamic creation method and system, and the method comprises the steps: obtaining a to-be-inserted page element and a to-be-inserted position of the page element; according to the to-be-inserted position of the page element, calling a corresponding tool function so as to realize that the page element is inserted into the whole page; regarding page elements as child components, and regarding the whole page as a parent component; the child component transmits parameters of the child component to the parent component; the parent component transmits parameters of the parent component to the child component; and rendering the whole page. The workload of handwriting codes of the user is reduced, and the user requirements are quickly met based on a low-code development platform and page DOM element expansion.

Description

technical field [0001] The invention relates to the technical field of electrical digital data processing, in particular to a method and system for dynamically creating page elements. Background technique [0002] The statements in this section merely mention background related to the present invention and do not necessarily constitute prior art. [0003] In the usage scenario of the low-code development platform, many pages developed may not be able to fully meet the needs of users, and users need to manually write code to achieve it. For some pages, 80% can be realized through low-code, and only 20% of the functions It cannot be realized. At this time, the developers hand-written code to realize the function, which greatly increases the development workload and increases the project cost. SUMMARY OF THE INVENTION [0004] In order to solve the deficiencies of the prior art, the present invention provides a method and system for dynamically creating page elements; reduce...

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 Applications(China)
IPC IPC(8): G06F8/38G06F9/451
CPCG06F8/38G06F9/451
Inventor 黎峰胡杨杜伟张传慧陈彬石瑞东冯雪芹
Owner 金现代信息产业股份有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products