Front-end integration method based on dependency injection and path mapping under Html
A dependency injection and path technology, applied in the html field, can solve the problems of inability to achieve complete reuse of functional units and increase operation and maintenance costs.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0027] see figure 1 and figure 2 , the present invention provides a technical solution: a front-end integration method based on dependency injection and path mapping under Html, comprising:
[0028] Frame page and dependency injection form: In addition to realizing the basic functions of the new system, the frame page (such as index.html) is responsible for organizing the injection of different old system dependencies and embedding the old functions (such as using iframe to load the old function xx.html page ); in the html page, dependencies include: js script or method dependencies, css style dependencies, public variable dependencies, dom dependencies; for a single system, the steps of dependency injection are: the framework page calls the entry js file (such as init. js), according to the configuration of the relevant dependencies in the entry js file, load the corresponding dependencies, and load the corresponding functional modules after the dependency loading is comple...
Embodiment 2
[0036] see figure 1 and figure 2 , the present invention provides a technical solution: a front-end integration method based on dependency injection and path mapping under Html, comprising:
[0037] Frame page and dependency injection form: In addition to realizing the basic functions of the new system, the frame page (such as index.html) is responsible for organizing the injection of different old system dependencies and embedding the old functions (such as using iframe to load the old function xx.html page ); in the html page, dependencies include: js script or method dependencies, css style dependencies, public variable dependencies, dom dependencies; for a single system, the steps of dependency injection are: the framework page calls the entry js file (such as init. js), according to the configuration of the relevant dependencies in the entry js file, load the corresponding dependencies, and load the corresponding functional modules after the dependency loading is comple...
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