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

Front-end component processing method and device

A technology of front-end components and processing methods, applied in the Internet field, can solve the problems of inability to find a balance between development efficiency, maintenance cost and web page performance, difficult to control the minimum granularity of component splitting, and consumption of browser performance, etc. The effect of component development efficiency, consumption reduction, and efficient data transmission

Active Publication Date: 2020-06-12
BEIJING CHUANGXIN JOURNEY NETWORK TECH CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the prior art, when the MVC framework is used to split the components, since the components are not classified and isolated, when the page content is refreshed, it will cause the refresh of irrelevant content on the page, that is, the refresh of irrelevant components, seriously consumes browser performance
[0004] Moreover, the current splitting of components mainly relies on the personal experience of engineers and specific project architecture characteristics. It is difficult to control the minimum granularity of component splitting, so that it is impossible to find a balance between development efficiency, maintenance costs, and web page performance.
[0005] In addition, the current data transmission of components is mainly through the properties of components. When there are multi-level components for data transmission, it will be very cumbersome to transfer data between components through properties.

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
  • Front-end component processing method and device
  • Front-end component processing method and device
  • Front-end component processing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0031] The principle and spirit of the present invention will be described below with reference to several exemplary embodiments. It should be understood that these embodiments are only provided to enable those skilled in the art to better understand and then implement the present invention, but not to limit the scope of the present invention in any way.

[0032] It should be noted that although expressions such as "first" and "second" are used herein to describe different modules, steps, and data of the embodiments of the present invention, the expressions such as "first" and "second" are only for Different modules, steps, data, etc. are distinguished, but do not indicate a specific order or degree of importance. In fact, expressions such as "first" and "second" can be used interchangeably.

[0033] The front-end component processing method provided by the embodiment of the present invention can be applied to application scenarios of splitting the front-end component and transfer...

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 embodiment of the invention relates to a front-end component processing method and device. The front-end component processing method comprises the following steps: splitting a page into a plurality of containers, classifying components contained in the page, and putting the components with strong relevance into one container; For each component in each container, carrying out finest granularity splitting; storing the business components obtained by splitting into corresponding containers in a linked manner to form a first component chain obtained by splitting, storing the public componentswith the finest granularity obtained by splitting into a component library, and quoting the public components with the finest granularity in the component library by the business components to form asecond component chain; And transmitting the data into the data center by the component of the to-be-transmitted data in the first component chain or the second component chain, wherein the componentof the to-be-acquired data in the first component chain or the second component chain acquires the data transmitted into the data center by the component of the to-be-transmitted data. According to the embodiment of the invention, when the page is refreshed, the browser consumption can be reduced, and efficient data transmission among multi-level components of the components is realized.

Description

Technical field [0001] The embodiment of the present invention relates to the field of Internet technology, and in particular to a front-end component processing method and device based on the MVC framework. Background technique [0002] Currently, in the field of front-end development, the framework of the Model View Controller (MVC) structure is one of the mainstream frameworks used by developers. In a system using this type of framework, developers can split the modules in the project into multiple components as needed, and continue to split multiple components. Usually, the component to be split is called the parent component, and the component is split to get The component is called a sub-component. By referencing the component in the module and the sub-component in the parent component, the reuse of the component can be realized, avoiding multiple development of the same function, and improving the reusability of the development code. [0003] In the prior art, when the comp...

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 CHUANGXIN JOURNEY NETWORK TECH CO LTD
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