Unlock instant, AI-driven research and patent intelligence for your innovation.

A block-based component development method

A component development and block technology, which is applied in the direction of creating/generating source code, programming language/sample, database distribution/replication, etc., can solve problems such as long-term, need to develop component settings, large amount of website code, deep code hierarchy, etc. To achieve the effect of clear agent level, simplified code structure and reduced code level

Active Publication Date: 2022-07-08
南京焦点领动云计算技术有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, with the rapid development of the company's business, the needs of customers are also increasing, and there will be some limitations in creating the customer's website only in the form of components: the component design satisfies the 12-grid pattern, and such a design can be very convenient It allows developers to develop responsive components. The website generated by 12-grid is generally more regular. If customers have some special needs, it is difficult to meet them with 12-grid mode; although there are various components, as the number of customers With geometric growth, there are more and more customer needs, and new components are often created to meet the needs, but the development cycle of new components is relatively long, and it is necessary to develop component setting pages and component rendering pages; although component dragging can be very convenient It is still relatively troublesome to construct a row of the page, but it is still relatively troublesome to adjust the layout of the components in the row; the code level of the components is relatively deep, resulting in a relatively large amount of website code

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
  • A block-based component development method
  • A block-based component development method
  • A block-based component development method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] The development of blocks is based on online development. Each block is a line in the original component combination. A block consists of one or more nodes. The nodes are divided into static nodes and dynamic nodes (nodes are for customers to customize. For their own options, if the static node is a picture type, the customer can upload pictures).

[0024] Static node: The code saved to the storage medium is the same as the code rendered to the browser, and there is no need to render nodes (such as pictures, text, etc.) through an intermediate program. The data saved to the storage medium after setting by the customer is an html structure.

[0025] Dynamic nodes: The code saved to the storage medium is inconsistent with the code rendered to the browser. Nodes that need to be rendered in transit through an intermediate program. Dynamic node settings and data acquisition can reuse some of the developed component data. The data structure in the storage medium is a json str...

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 discloses a block-based component development method, which is characterized in that it includes three steps of block development, block setting and block rendering. The details are as follows: Step 1, firstly, the developed block is reviewed and released , the version number corresponding to the current block will be generated after the review is completed; in step 2, the default display corresponding to the latest version of the current block is rendered on the page, and the node on the block is identified by the attributes on the div surrounding the node. Set the version corresponding to the current block to the latest version of the current block; step 3, obtain the rendering template according to the custom tag and version number, and return the final html code to the browser for display. To meet the aesthetic needs of customers, the development is simple, the development cycle is shorter than that of conventional components under the same requirements, the existing components in the platform can be reused, and the settings are simpler and clearer than the original component settings.

Description

technical field [0001] The invention relates to the field of computer data processing, in particular to a block-based component development method. Background technique [0002] A company's marketing platform is a cloud website building tool based on the Saas model. There are many building block components on the platform. Customers can combine one or more components into a line of a web page. The customer page is composed of these lines, so that customers can easily Generate the page you want by dragging and dropping components. However, with the rapid development of the company's business, the needs of customers are also increasing, and there are some limitations in creating a customer's website only in the form of components: the component design meets the 12-grid pattern, which can be very convenient. It allows developers to develop responsive components. The website generated by 12 grids is generally more regular. If customers have some special needs, it is difficult t...

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/30G06F16/21G06F16/27
CPCG06F8/31G06F16/21G06F16/27
Inventor 温广意胡成钢
Owner 南京焦点领动云计算技术有限公司