CN108287704A - The method and system that web front-end exploration project is built - Google Patents

The method and system that web front-end exploration project is built Download PDF

Info

Publication number
CN108287704A
CN108287704A CN201710015437.6A CN201710015437A CN108287704A CN 108287704 A CN108287704 A CN 108287704A CN 201710015437 A CN201710015437 A CN 201710015437A CN 108287704 A CN108287704 A CN 108287704A
Authority
CN
China
Prior art keywords
module
load
depending
depending module
project
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710015437.6A
Other languages
Chinese (zh)
Inventor
戚博文
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Peking University Founder Group Co Ltd
Beijing Founder Electronics Co Ltd
Original Assignee
Peking University Founder Group Co Ltd
Beijing Founder Electronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Peking University Founder Group Co Ltd, Beijing Founder Electronics Co Ltd filed Critical Peking University Founder Group Co Ltd
Priority to CN201710015437.6A priority Critical patent/CN108287704A/en
Publication of CN108287704A publication Critical patent/CN108287704A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/20Software design
    • G06F8/22Procedural
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces

Abstract

The present invention proposes a kind of method and system that web front-end exploration project is built, and the method that web front-end exploration project is built includes:Project primary module is loaded by script labels;The load feature of the Depending module of definition project primary module;Define the load path of Depending module;Load Depending module;The Depending module that load is completed is incorporated into identical file, the present invention solves the present situation of js language and css language itself underaction, web front-end developer is used as rear end developer other high-level languages, improve web front-end development efficiency, a traditional page is solved to need to quote multiple js/css resource files, request number of times of the browser to resource is reduced, service pressure is mitigated.

Description

The method and system that web front-end exploration project is built
Technical field
The present invention relates to web development technique fields, in particular to a kind of method that web front-end exploration project is built And system.
Background technology
In Website development and operational process, needs to build web front-end development environment, content of problems is repaiied Change and debug, in the prior art, web front-end development environment usually needs to use content delivery network service, meeting when accessing webpage Incidentally access many resource files, such as js and css files etc., Internet era indispensable two language, that is, js script languages It makes peace css cascading style sheets, web front-end exploitation is also that exploitation web applies indispensable pith.
In complicated the Internet, applications environment, how to improve the using flexible of js, css language itself, and how structure It builds a set of project for belonging to web front-end exploitation and builds fast method, be the important channel for improving development efficiency, more original takes Building web front-end method will need the resource file used in project, be introduced with html label forms according to sequence is used.The party Method is simple and clear, and code is understandable, but apparent disadvantage asks this to need to access server for several times when browser load webpage A little resource files, this is undoubtedly drain performance.
Therefore, the mutual reference solved the request number of times of js, css content in code file how is reduced in the page to make At code redundancy become critical issue.
Invention content
The present invention is directed to solve at least one of the technical problems existing in the prior art or related technologies.
For this purpose, an object of the present invention is to provide a kind of methods that web front-end exploration project is built.
It is another object of the present invention to propose a kind of system that web front-end exploration project is built.
In view of this, a purpose according to the present invention, it is proposed that a kind of method that web front-end exploration project is built, packet It includes:Project primary module is loaded by script labels;The load feature of the Depending module of definition project primary module;Definition relies on mould The load path of block;Load Depending module;The Depending module that load is completed is incorporated into identical file.
The method that web front-end exploration project provided by the invention is built loads project primary module by script labels, fixed The load feature of the Depending module of senses of a dictionary entry mesh primary module defines the load path of Depending module, loads Depending module, will load At Depending module be incorporated into identical file, solve js language and css language itself underaction present situation so that before web End developer can use other high-level languages as the developer of rear end, improve web front-end development efficiency, solve traditional One page needs to quote multiple js/css resource files, reduces request number of times of the browser to resource, mitigates service pressure.
The method that above-mentioned web front-end exploration project according to the present invention is built can also have following technical characteristic:
In the above-mentioned technical solutions, it is preferable that project primary module is loaded by script labels, is specifically included:It will Script labels are arranged in webpage bottom;Or rewrite the script labels using async attributes or defer keywords;Load The main entrance code of project primary module.
In the technical scheme, project primary module is loaded by script labels to specifically include:Script labels are arranged The script labels are rewritten in webpage bottom, or using async attributes or defer keywords, load the master of project primary module Entry code is wanted, webpage is avoided to lose response.Specifically, IE does not support async attributes, only supports defer keywords.
In the above-mentioned technical solutions, it is preferable that the load feature for defining the Depending module of project primary module specifically includes: When Depending module is non-AMD (Asynchronous Module Definition, asynchronous module definition) specification module, definition The exports values and deps arrays of Depending module.
In the technical scheme, the load feature for defining the Depending module of project primary module, specifically includes:Work as Depending module For non-AMD specification modules when, define the exports values and deps arrays of Depending module, exports values and deps arrays are shim Attribute is specifically used to configure incompatible module, title when exports values are Depending module external call, and deps arrays are The dependence of Depending module.
In the above-mentioned technical solutions, it is preferable that the load path for defining Depending module specifically includes:When Depending module exists When in js subdirectories, the load path of Depending module is defined as js subdirectories;When Depending module is not in js subdirectories, lead to It crosses specified path one by one or changes base catalogue, the load path of Depending module is defined as respective directories.
In the technical scheme, the load path for defining Depending module specifically includes:When Depending module is in js subdirectories When, the load path of Depending module is defined as js subdirectories, when Depending module is not in js subdirectories and in other catalogues When, by specified path one by one or it is directly changed base catalogue, the load path of Depending module is defined as respective directories, paths Attribute specifies the load path of modules.
In the above-mentioned technical solutions, it is preferable that further include:When Depending module is present in other hosts, by Depending module Load path be defined as host network address.
In the technical scheme, when Depending module is present in an other host, the load path of Depending module is determined Justice is host network address, can flexibly use js, css language to carry out Development of Modular and integrate.
Another purpose according to the present invention, it is proposed that a kind of system that web front-end exploration project is built, including:Load Unit, for loading project primary module by script labels;Definition unit, the Depending module for defining project primary module Load feature;And define the load path of Depending module;Loading unit is additionally operable to load Depending module;Combining unit is used for The Depending module that load is completed is incorporated into identical file.
The system that web front-end exploration project provided by the invention is built, loading unit load project by script labels Primary module, definition unit define the load feature of the Depending module of project primary module, define the load path of Depending module, load Unit loads Depending module, and the Depending module that load is completed is incorporated into identical file by combining unit, solves js language and css The present situation of language itself underaction so that web front-end developer can use other advanced languages as the developer of rear end Speech improves web front-end development efficiency, solves a traditional page and needs to quote multiple js/css resource files, reduces browsing Device mitigates service pressure to the request number of times of resource.
The system that above-mentioned web front-end exploration project according to the present invention is built can also have following technical characteristic:
In the above-mentioned technical solutions, it is preferable that loading unit is specifically used for:Script labels are arranged in webpage bottom; Or rewrite script labels using async attributes or defer keywords;The main entrance code of load project primary module.
In the technical scheme, script labels are arranged in webpage bottom loading unit, or using async attributes or Defer keywords rewrite the script labels, load the main entrance code of project primary module, webpage is avoided to lose response. Specifically, IE does not support async attributes, only supports defer keywords.
In the above-mentioned technical solutions, it is preferable that definition unit is specifically used for:When Depending module is non-AMD specification modules When, define the exports values and deps arrays of Depending module.
In the technical scheme, definition unit defines Depending module when Depending module is non-AMD specification modules Exports values and deps arrays, exports values and deps arrays are shim attributes, are specifically used to configure incompatible module, Title when exports values are Depending module external call, deps arrays are the dependence of Depending module.
In the above-mentioned technical solutions, it is preferable that definition unit is additionally operable to:It, will be according to when Depending module is in js subdirectories The load path of module is relied to be defined as js subdirectories;When Depending module is not in js subdirectories, by specified path one by one or Change base catalogue, the load path of Depending module is defined as respective directories.
In the technical scheme, definition unit is when Depending module is in js subdirectories, by the load path of Depending module Js subdirectories are defined as, when Depending module is not in js subdirectories and in other catalogues, by specified path one by one or directly It connects and changes base catalogue, the load path of Depending module is defined as respective directories, paths attributes specify the load road of modules Diameter.
In the above-mentioned technical solutions, it is preferable that definition unit is additionally operable to:It, will when Depending module is present in other hosts The load path of Depending module is defined as host network address.
In the technical scheme, definition unit is when Depending module is present in an other host, by Depending module plus Load path definition is host network address, can flexibly use js, css language to carry out Development of Modular and integrate.
The additional aspect and advantage of the present invention will become apparent in following description section, or practice through the invention Recognize.
Description of the drawings
The above-mentioned and/or additional aspect and advantage of the present invention will become in the description from combination following accompanying drawings to embodiment Obviously and it is readily appreciated that, wherein:
Fig. 1 shows the flow diagram for the method that the web front-end exploration project of one embodiment of the present of invention is built;
Fig. 2 shows the schematic block diagrams for the system that the web front-end exploration project of one embodiment of the present of invention is built;
Fig. 3 shows the AMD modular concept schematic diagrames of the specific embodiment of the present invention.
Specific implementation mode
To better understand the objects, features and advantages of the present invention, below in conjunction with the accompanying drawings and specific real Mode is applied the present invention is further described in detail.It should be noted that in the absence of conflict, the implementation of the application Feature in example and embodiment can be combined with each other.
Many details are elaborated in the following description to facilitate a thorough understanding of the present invention, still, the present invention may be used also To be implemented different from other modes described here using other, therefore, protection scope of the present invention is not limited to following public affairs The limitation for the specific embodiment opened.
The embodiment of first aspect present invention proposes that a kind of method that web front-end exploration project is built, Fig. 1 show this The flow diagram for the method that the web front-end exploration project of one embodiment of invention is built:
Step 102, project primary module is loaded by script labels;
Step 104, the load feature of the Depending module of project primary module is defined;
Step 106, the load path of Depending module is defined;
Step 108, Depending module is loaded;
Step 110, the Depending module that load is completed is incorporated into identical file.
The method that web front-end exploration project provided by the invention is built loads project primary module by script labels, fixed The load feature of the Depending module of senses of a dictionary entry mesh primary module defines the load path of Depending module, loads Depending module, will load At Depending module be incorporated into identical file, solve js language and css language itself underaction present situation so that before web End developer can use other high-level languages as the developer of rear end, improve web front-end development efficiency, solve traditional One page needs to quote multiple js/css resource files, reduces request number of times of the browser to resource, mitigates service pressure.
In one embodiment of the invention, as illustrated in fig. 1, it is preferred that step 102, passes through script label add-ins Mesh primary module, specifically includes:
Step 1022, script labels are arranged in webpage bottom;Or it is rewritten using async attributes or defer keywords The script labels;
Step 1024, the main entrance code of project primary module is loaded.
In this embodiment, project primary module is loaded by script labels to specifically include:The setting of script labels is existed Webpage bottom, or the script labels are rewritten using async attributes or defer keywords, load the main of project primary module Entry code avoids webpage from losing response.Specifically, IE does not support async attributes, only supports defer keywords.
In one embodiment of the invention, it is preferable that step 104, define the load of the Depending module of project primary module Feature specifically includes:When Depending module is non-AMD specification modules, the exports values and deps arrays of Depending module are defined.
In this embodiment, the load feature for defining the Depending module of project primary module, specifically includes:When Depending module is When non-AMD specification modules, the exports values and deps arrays of Depending module are defined, exports values and deps arrays belong to for shim Property, be specifically used to configure incompatible module, title when exports values are Depending module external call, deps arrays be according to Rely the dependence of module.
In one embodiment of the invention, as illustrated in fig. 1, it is preferred that step 106, defines the load road of Depending module Diameter specifically includes:
Step 1060, judge Depending module whether in js subdirectories;
Step 1062, when Depending module is in js subdirectories, the load path of Depending module is defined as js subdirectories;
Step 1064, when Depending module is not in js subdirectories, judge that Depending module whether there is in other hosts;
Step 1066, when Depending module is present in other hosts, the load path of Depending module is defined as host net Location;
Step 1068, when Depending module is not present in other hosts, by specified path one by one or change base catalogue, it will The load path of Depending module is defined as respective directories.
In this embodiment, the load path for defining Depending module specifically includes:When Depending module is in js subdirectories, The load path of Depending module is defined as js subdirectories, when Depending module is not in js subdirectories and in other catalogues, By specified path one by one or it is directly changed base catalogue, the load path of Depending module is defined as respective directories, paths attributes The load path of specified modules.When Depending module is present in an other host, the load path of Depending module is determined Justice is host network address, can flexibly use js, css language to carry out Development of Modular and integrate.
The embodiment of second aspect of the present invention proposes a kind of system that web front-end exploration project is built 200, Fig. 2 shows The schematic block diagram for the system 200 that the web front-end exploration project of one embodiment of the present of invention is built:
Loading unit 202, for loading project primary module by script labels;
Definition unit 204, the load feature of the Depending module for defining project primary module;And define Depending module Load path;
Loading unit 202 is additionally operable to load Depending module;
Combining unit 206, the Depending module for completing load are incorporated into identical file.
The system 200 that web front-end exploration project provided by the invention is built, loading unit 202 are added by script labels Load project primary module, definition unit 204 define the load feature of the Depending module of project primary module, define the load of Depending module Path, loading unit 202 load Depending module, and the Depending module that load is completed is incorporated into identical file by combining unit 206, Solve the present situation of js language and css language itself underaction so that web front-end developer can be as the developer of rear end Using other high-level languages, web front-end development efficiency is improved, a traditional page is solved and needs to quote multiple js/css resources File reduces request number of times of the browser to resource, mitigates service pressure.
In one embodiment of the invention, it is preferable that loading unit 202 is specifically used for:The setting of script labels is existed Webpage bottom;Or rewrite script labels using async attributes or defer keywords;The main entrance of load project primary module Code.
In this embodiment, script labels are arranged in webpage bottom loading unit 202, or using async attributes or Defer keywords rewrite the script labels, load the main entrance code of project primary module, webpage is avoided to lose response. Specifically, IE does not support async attributes, only supports defer keywords.
In one embodiment of the invention, it is preferable that definition unit 204 is specifically used for:When Depending module is non-AMD When specification module, the exports values and deps arrays of Depending module are defined.
In this embodiment, definition unit 204 defines Depending module when Depending module is non-AMD specification modules Exports values and deps arrays, exports values and deps arrays are shim attributes, are specifically used to configure incompatible module, Title when exports values are Depending module external call, deps arrays are the dependence of Depending module.
In one embodiment of the invention, it is preferable that definition unit 204 is additionally operable to:When Depending module is in js subdirectories When middle, the load path of Depending module is defined as js subdirectories;When Depending module is not in js subdirectories, by referring to one by one Determine path or change base catalogue, the load path of Depending module is defined as respective directories.
In this embodiment, definition unit 204 is when Depending module is in js subdirectories, by the load path of Depending module Js subdirectories are defined as, when Depending module is not in js subdirectories and in other catalogues, by specified path one by one or directly It connects and changes base catalogue, the load path of Depending module is defined as respective directories, paths attributes specify the load road of modules Diameter.
In one embodiment of the invention, it is preferable that definition unit 204 is additionally operable to:When Depending module be present in it is other When host, the load path of Depending module is defined as host network address.
In this embodiment, definition unit 204 is when Depending module is present in an other host, by Depending module plus Load path definition is host network address, can flexibly use js, css language to carry out Development of Modular and integrate.
Specific embodiments of the present invention:
RequireJS is a js file and module frame increased income, and supports the server ring of browser and node.js Border can sequentially be read using RequireJS and only need related dependant module, and the principle of RequireJS is to work as to use script When label loads relied on resource file, these dependences are loaded by head.appendChild () function, work as dependence After load, the sequence of module definition is calculated, and is called in the correct order.
JavaScript modules follow SRP's (Single Responsibility Principle, single responsibility principle) Code segment, it exposes a disclosed API, and (Application Programming Interface, application programming connect Mouthful).In the exploitations of JavaScript now, many functions can be encapsulated in the module, and in most of projects, Mei Gemo Block has the file of their own, this makes developer need the dependence between continual concern module, and according to one These modules are sequentially specifically loaded, mistake will occur when otherwise running.When loading JavaScript modules, use Script labels need first to load the module being relied on to load the module of dependence.When using script labels, need by Particular order arranges their load like this, and the load of script is synchronous.Async and defer keywords can be used So that load is asynchronous, but the sequence of load may be therefore lost in loading procedure.
The participant of CommonJS determines to have made the block format of JavaScript language work, does not limit and be tied to Browser JS environment.The group of CommonJS can make correlation reference, solve how processing cycle Dependence Problem and How solution obtains the characteristic issues in relation to current block.But it still can influence the network load of module, intrinsic asynchronism Design.EVAL debugs or has when debugging multiple files actual weakness, and using most common in the module of CommonJS When JS environment, browser not runs on optimal performance.
The format ratio commonJS of AMD is more preferable, writes implicit Depending module and is easy to directly use in a browser.Figure 3 show the AMD modular concept schematic diagrames of the specific embodiment of the present invention, it is by existing " the global and foot of network This label ", because using the way that character string ID is the CommonJS relied on.The clearly declaration relied on avoids becoming using global Amount.ID may map to different paths.Package module definition provides tool, to avoid pollution global name space.It removes Path definition module value uses " return value " or " outlet " of CommonJS, this is highly useful to Circular dependency, compares The module of CommonJS, it preferably can make browser work.
The system built of web front-end exploration project of the present invention includes:
(1) load of project primary module
Label is used in homepage<Script src=" js/require.js "></script>, to avoid webpage from losing It goes to respond, places it in webpage bottom-loaded, or rewritten as follows:<Script src=" js/require.js " defer Async=" true "></script>, wherein async attributes demonstrate the need for Asynchronous loading, avoid webpage from losing response, IE is not It supports async attributes, only supports defer.Secondly, project main entrance code is loaded, it is assumed that it is main.js, under js catalogues, Label is then rewritten as follows:<Script src=" js/require.js " data-main=" js/main "></script>, The primary module of data-main attribute named web page programs.
(2) load of Depending module
If the Depending module of project primary module is [' jquery', ' underscore', ' backbone'], default situations Under, require.js assumes these three modules and main.js in the same catalogue, and filename is respectively jquery.js, Underscore.js and backbone.js, then automatic load.
Using require.config () method, the load behavior of module can be carried out self-defined. Require.config () just writes on the head of primary module (main.js), and parameter is exactly an object, the paths of this object Attribute specifies the load path of modules.
(3) custom block
The theoretically module of require.js loads, it is necessary to be according to AMD specifications, the mould defined with define () function Block.Although but in fact, some popular function library (such as jQuery) meets AMD specifications, more libraries are simultaneously It does not meet, therefore require.js can also load the module of non-standard.
The module of non-standard will first use require.config () method, define it before being loaded with require () Some features, for example, the two do not use the library that AMD specifications are write to underscore and backbone, in load Must elder generation defined feature, require.config () receive one configuration object, this object other than having paths attributes, There are one shim attributes, are specifically used to configure incompatible module.Each module will define (the change of output of (1) exports values Measure name), show title when this module-external is called;(2) deps arrays show the dependence of the module.
In the description of this specification, the description of term " one embodiment ", " some embodiments ", " specific embodiment " etc. Mean that particular features, structures, materials, or characteristics described in conjunction with this embodiment or example are contained at least one reality of the present invention It applies in example or example.In the present specification, schematic expression of the above terms are not necessarily referring to identical embodiment or reality Example.Moreover, description particular features, structures, materials, or characteristics can in any one or more of the embodiments or examples with Suitable mode combines.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this field For art personnel, the invention may be variously modified and varied.All within the spirits and principles of the present invention, any made by repair Change, equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.

Claims (10)

1. a kind of method that web front-end exploration project is built, which is characterized in that including:
Project primary module is loaded by script labels;
Define the load feature of the Depending module of the project primary module;
Define the load path of the Depending module;
Load the Depending module;
The Depending module that load is completed is incorporated into identical file.
2. the method that web front-end exploration project according to claim 1 is built, which is characterized in that pass through the script Label loads the project primary module, specifically includes:
The script labels are arranged in webpage bottom;Or
The script labels are rewritten using async attributes or defer keywords;
Load the main entrance code of the project primary module.
3. the method that web front-end exploration project according to claim 1 is built, which is characterized in that define the project master The load feature of the Depending module of module, specifically includes:
When the Depending module is non-AMD specification modules, the exports values and deps arrays of the Depending module are defined.
4. the method that web front-end exploration project according to claim 1 is built, which is characterized in that define the dependence mould The load path of block, specifically includes:
When the Depending module is in js subdirectories, the load path of the Depending module is defined as js subdirectories;
When the Depending module is not in js subdirectories, by specified path one by one or change base catalogue, by the dependence mould The load path of block is defined as respective directories.
5. the method that web front-end exploration project according to claim 4 is built, which is characterized in that further include:
When the Depending module is present in other hosts, the load path of the Depending module is defined as the host net Location.
6. a kind of system that web front-end exploration project is built, which is characterized in that including:
Loading unit, for loading project primary module by script labels;
Definition unit, the load feature of the Depending module for defining the project primary module;And define the Depending module Load path;
The loading unit is additionally operable to load the Depending module;
Combining unit, the Depending module for completing load are incorporated into identical file.
7. the system that web front-end exploration project according to claim 6 is built, which is characterized in that the loading unit, tool Body is used for:
The script labels are arranged in webpage bottom;Or
The script labels are rewritten using async attributes or defer keywords;
Load the main entrance code of the project primary module.
8. the system that web front-end exploration project according to claim 6 is built, which is characterized in that the definition unit, tool Body is used for:
When the Depending module is non-AMD specification modules, the exports values and deps arrays of the Depending module are defined.
9. the system that web front-end exploration project according to claim 6 is built, which is characterized in that the definition unit, also For:
When the Depending module is in js subdirectories, the load path of the Depending module is defined as js subdirectories;
When the Depending module is not in js subdirectories, by specified path one by one or change base catalogue, by the dependence mould The load path of block is defined as respective directories.
10. the system that web front-end exploration project according to claim 9 is built, which is characterized in that the definition unit, It is additionally operable to:
When the Depending module is present in other hosts, the load path of the Depending module is defined as the host net Location.
CN201710015437.6A 2017-01-10 2017-01-10 The method and system that web front-end exploration project is built Pending CN108287704A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710015437.6A CN108287704A (en) 2017-01-10 2017-01-10 The method and system that web front-end exploration project is built

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710015437.6A CN108287704A (en) 2017-01-10 2017-01-10 The method and system that web front-end exploration project is built

Publications (1)

Publication Number Publication Date
CN108287704A true CN108287704A (en) 2018-07-17

Family

ID=62819510

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710015437.6A Pending CN108287704A (en) 2017-01-10 2017-01-10 The method and system that web front-end exploration project is built

Country Status (1)

Country Link
CN (1) CN108287704A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110007953A (en) * 2018-12-26 2019-07-12 蔚来汽车有限公司 A kind of software front end development approach and its system
CN111291301A (en) * 2020-02-24 2020-06-16 苏宁云计算有限公司 Webpage resource loading method and device
CN111797357A (en) * 2020-07-12 2020-10-20 泰安协同软件有限公司 Front-end integration method based on dependency injection and path mapping under Html
CN112764806A (en) * 2021-02-27 2021-05-07 中电万维信息技术有限责任公司 Front-end resource modular management and resource packaging configuration method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102567516A (en) * 2011-12-28 2012-07-11 华为技术有限公司 Script loading method and device
US20140047322A1 (en) * 2012-08-09 2014-02-13 Korea Advanced Institute Of Science And Technology Method and system for browsing things of internet of things on ip using web platform
CN103955361A (en) * 2014-03-28 2014-07-30 世纪禾光科技发展(北京)有限公司 Modular development and publishing system for automatic compiling and establishing of web front-end codes
CN105630524A (en) * 2014-10-31 2016-06-01 广州市动景计算机科技有限公司 Webpage text parsing method and device and mobile terminal
CN106293675A (en) * 2015-06-08 2017-01-04 腾讯科技(深圳)有限公司 Static system resource loading method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102567516A (en) * 2011-12-28 2012-07-11 华为技术有限公司 Script loading method and device
US20140047322A1 (en) * 2012-08-09 2014-02-13 Korea Advanced Institute Of Science And Technology Method and system for browsing things of internet of things on ip using web platform
CN103955361A (en) * 2014-03-28 2014-07-30 世纪禾光科技发展(北京)有限公司 Modular development and publishing system for automatic compiling and establishing of web front-end codes
CN105630524A (en) * 2014-10-31 2016-06-01 广州市动景计算机科技有限公司 Webpage text parsing method and device and mobile terminal
CN106293675A (en) * 2015-06-08 2017-01-04 腾讯科技(深圳)有限公司 Static system resource loading method and device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
DAISY: "浅析script标签中的defer与async属性", 《脚本之家,HTTPS://WWW.JB51.NET/ARTICLE/98626.HTM》 *
ROCKAN007: "JavaScript模块-加载模块require.js", 《CSDN博客,HTTPS://BLOG.CSDN.NET/ROCKAN007/ARTICLE/DETAILS/53009704》 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110007953A (en) * 2018-12-26 2019-07-12 蔚来汽车有限公司 A kind of software front end development approach and its system
CN111291301A (en) * 2020-02-24 2020-06-16 苏宁云计算有限公司 Webpage resource loading method and device
CN111797357A (en) * 2020-07-12 2020-10-20 泰安协同软件有限公司 Front-end integration method based on dependency injection and path mapping under Html
CN111797357B (en) * 2020-07-12 2023-12-19 泰安协同软件有限公司 Front-end integration method based on dependent injection and path mapping under Html
CN112764806A (en) * 2021-02-27 2021-05-07 中电万维信息技术有限责任公司 Front-end resource modular management and resource packaging configuration method

Similar Documents

Publication Publication Date Title
US7908594B2 (en) External programmatic interface for IOS CLI compliant routers
US8201153B2 (en) Configurable Java Server pages processing
CN108287704A (en) The method and system that web front-end exploration project is built
US7779398B2 (en) Methods and systems for extracting information from computer code
CN103412853B (en) A kind of automatic example generation method for file convertor
CN104346153A (en) Method and system for translating text information of application programs
US20030014442A1 (en) Web site application development method using object model for managing web-based content
US20060294500A1 (en) Web application generator
US10915585B2 (en) Data store interface that facilitates distribution of application functionality across a multi-tier client-server architecture
CN110109659A (en) A kind of system that realizing front end applications scaffold and server
CN102566984B (en) Method and device for configuring parameters
CN110221968A (en) Method for testing software and Related product
US20090150871A1 (en) Method and apparatus for defining and instrumenting reusable java server page code snippets for website testing and production
CN105808428A (en) Method for performing unified performance test on distributed file system
CN109522018A (en) Page processing method, device and storage medium
CN113126990B (en) Page development method, device, equipment and storage medium
CN110321503B (en) Web component caching method and device and electronic equipment
CN107301137A (en) RSET interface realizing methods and device and electronic equipment and computer-readable recording medium
WO2015063260A1 (en) Establishment of state representation of a web page represented in a web browser
CN103034486A (en) Automatic optimization method based on full-system expansion call graph for mobile terminal operation system
CN111078217A (en) Brain graph generation method, apparatus and computer-readable storage medium
CN110058849A (en) Generation method, device, computer equipment and the storage medium of flow chart
CN109684192A (en) Local test method, equipment, storage medium and device based on data processing
CN114115899A (en) Project development method and device, electronic equipment and storage medium
CN103714035B (en) Multilayer software bus structure for integrated environment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180717