Supercharge Your Innovation With Domain-Expert AI Agents!

Front-end module loading method and device

A front-end module and loading module technology, applied in the computer field, can solve problems such as increasing maintenance costs, and achieve the effects of reducing maintenance costs, high efficiency, and reducing interface modular development

Pending Publication Date: 2020-03-03
BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD +1
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

When the module is no longer used, the CSS resource file needs to be deleted manually, which increases maintenance costs

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 module loading method and device
  • Front-end module loading method and device
  • Front-end module loading method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0047] Exemplary embodiments of the present invention are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present invention to facilitate understanding, and they should be regarded as exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.

[0048] According to an aspect of the embodiments of the present invention, a front-end module loading method is provided.

[0049] figure 1 is a schematic diagram of the main flow of the front-end module loading method according to the embodiment of the present invention. Such as figure 1 As shown, the front-end module loading method includes: step S101, step S102 and s...

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 front-end module loading method and device, and relates to the technical field of computers. A specific embodiment of the method comprises the steps of obtaining a module identifier and configuration attribute information of a to-be-loaded module; determining module resources of the to-be-loaded module according to the module identifier, and determining dependent resources of the to-be-loaded module according to the configuration attribute information; and loading the module resources and the dependent resources of the to-be-loaded module. According to the embodiment,the configuration attribute information of the module is used for analyzing the dependent resources, so that the required resources are automatically loaded, the purposes of reducing the maintenancecost and performing interface modular development are achieved, the network overhead is small, and the efficiency is high.

Description

technical field [0001] The invention relates to the technical field of computers, in particular to a front-end module loading method and device. Background technique [0002] At present, when an interface development project develops a page, the following methods are often used to implement JS (Javascript, a scripting language, mainly used for script programming of special effects and functions of web pages) resources and CSS (Cascading StyleSheet, cascading style sheets, which are A markup language that controls the style of a web page and allows the separation of style information from the content of the web page) the introduction of resources: [0003] Method 1: In the page, use the label form to introduce the required resources; [0004] Method 2: Put all the resources used in a page template, and the page needs to import this template; [0005] Method 3: Use a module engine framework such as Sea (a TCP protocol framework) or Requirejs (a JavaScript module loading fram...

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
IPC IPC(8): G06F16/957
CPCG06F9/44521
Inventor 金海魏寒威周佺黄艳如
Owner BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More