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

Component library implementing method and device

An implementation method and technology of a component library, applied in the implementation field of the component library, can solve the problems of complex maintenance difficulty of the front-end framework system, and achieve the effect of solving the difficulty of maintenance and overcomplexity.

Inactive Publication Date: 2018-03-23
MOBILE TECH COMPANY CHINA TRAVELSKY HLDG
View PDF7 Cites 21 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0024] Embodiments of the present invention provide a method and device for implementing a component library, so as to at least solve the problem that the front-end framework system in the prior art is too complicated and difficult to maintain

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
  • Component library implementing method and device
  • Component library implementing method and device
  • Component library implementing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0051] In this embodiment, a method for implementing a component library is provided, figure 1 Is a flowchart of a method for implementing a component library according to an embodiment of the present invention, such as figure 1 As shown, the process includes the following steps:

[0052] Step S102, receiving the service requirements of the front-end frame system;

[0053] Step S104, obtaining abstract single-file components from the component library according to business requirements;

[0054] Among them, the component library includes multiple single-file components, which are respectively used to implement corresponding business functions.

[0055] Through the above steps, the entire front-end frame system is built through components with a single responsibility, and the requirements are quickly completed through the components, which can solve the problem that the front-end frame system in the prior art is too complicated and difficult to maintain.

[0056] Optionally, the executio...

Embodiment 2

[0069] In this embodiment, a device for implementing a component library is also provided, which is used to implement the above-mentioned embodiments and preferred implementations, and those that have been described will not be repeated. As used below, the term "module" may implement a combination of software and / or hardware with predetermined functions. Although the devices described in the following embodiments are preferably implemented by software, hardware or a combination of software and hardware is also possible and conceived.

[0070] figure 2 It is a structural block diagram of a device for implementing a component library according to an embodiment of the present invention, such as figure 2 As shown, the device includes:

[0071] The receiving module 20 is used to receive the service requirements of the front-end frame system;

[0072] The obtaining module 22 is configured to obtain abstract single-file components from the component library according to the business requ...

Embodiment 3

[0078] This embodiment is used to describe the application in detail in combination with examples, and can supplement and explain the solutions of the above embodiments.

[0079] This embodiment belongs to the technical field of web front-end componentization, and can be applied to the field of web page development on the PC side.

[0080] This embodiment proposes that a large and complex scene can be decomposed into several small parts, these small parts do not interfere with each other, can be developed and maintained separately, and they can be combined at will. This idea of ​​simplification in back-end development is embodied in microservices, and in front-end development is componentization.

[0081] The componentized working method believes in independence, integrity and free combination. The goal is to separate the elements in design and development as much as possible, so that it has complete partial functions, and constitutes the entire product through free combination.

[0...

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 provides a component library implementing method and device. The method comprises the steps of receiving a service requirement of a front end frame system; according to the service requirement, obtaining abstract monofile components from the component library, wherein the component library comprises the multiple monofile components used for achieving corresponding service functions respectively. According to the component library implementing method and device, the problem that in the prior art, a front end frame system is excessively complex and serious in maintenance difficultyis solved.

Description

Technical field [0001] The present invention relates to the field of data processing, and in particular to a method and device for implementing a component library. Background technique [0002] With the emergence of excellent front-end frameworks such as React and Vue, which are mainly based on components (instructions, etc.), front-end componentization has gradually become an urgent need for front-end development. Of course, this urgent need has gradually become a mainstream, a consensus, not only Improve the front-end development efficiency, but also reduce maintenance costs. Developers no longer need to face a bunch of complex and difficult to read code, instead they only need to focus on code fragments that exist as components. [0003] With the rapid development of front-end technology, front-end component development has also gone through many stages of development [0004] 1. The period of static pages with little interaction: public modules and CSS [0005] This is a very o...

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/10G06F8/38
CPCG06F8/10G06F8/38
Inventor 李睿张宣亚韩海燕王晨雨
Owner MOBILE TECH COMPANY CHINA TRAVELSKY HLDG
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