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.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com