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

Web front-end development project construction method and system

A front-end development and project technology, applied in the field of web development, can solve problems such as code redundancy and performance loss, and achieve the effect of reducing the number of requests, reducing service pressure, and improving development efficiency

Inactive Publication Date: 2018-07-17
PEKING UNIV FOUNDER GRP CO LTD +1
View PDF5 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This method is simple and clear, and the code is easy to understand, but the obvious disadvantage is that when the browser loads the webpage, it needs to visit the server several times to request these resource files, which undoubtedly consumes performance
[0004] Therefore, how to reduce the number of requests for js and css content in the page and solve the code redundancy caused by mutual references in code files has become a key issue

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
  • Web front-end development project construction method and system
  • Web front-end development project construction method and system
  • Web front-end development project construction method and system

Examples

Experimental program
Comparison scheme
Effect test

specific Embodiment

[0072] RequireJS is an open source js file and module framework that supports browsers and node.js server environments. RequireJS can be used to sequentially read only related dependent modules. The principle of RequireJS is that when using script tags to load dependent resource files, Load these dependencies through the head.appendChild() function. After the dependencies are loaded, calculate the order of module definitions and call them in the correct order.

[0073] The JavaScript module follows the SRP (Single Responsibility Principle, Single Responsibility Principle) code segment, which exposes a public API (Application Programming Interface, application programming interface). In today's JavaScript development, many functions can be encapsulated in modules, and in most projects, each module has its own file, which makes developers need to continuously pay attention to the dependencies between modules, and follow a These modules must be loaded in a specific order, otherwi...

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 web front-end development project construction method and system. The web front-end development project construction method comprises the steps of loading a project main module through a script label; defining loading characteristics of dependent modules of the project main module; defining a loading path of the dependent module; loading the dependent modules; combining the loaded dependent modules into the same file. The current situation that the js language and the css language are not flexible enough is solved, a web front-end developer can use other high-level languages like a rear-end developer, the web front-end development efficiency is improved, the problem that a traditional page needs to quote multiple js / css resource files is solved, the resource request frequency of a browser is lowered, and the service pressure is relieved.

Description

technical field [0001] The present invention relates to the technical field of web development, in particular to a method and system for building a web front-end development project. Background technique [0002] In the process of website development and operation, it is necessary to build a web front-end development environment to modify and debug the problematic content. In the existing technology, the web front-end development environment often needs to use content distribution network services, and when accessing web pages, it will access many Resource files, such as js and css files, are two indispensable languages ​​​​in the Internet age, js scripting language and css cascading style sheet. Web front-end development is also an indispensable part of developing web applications. [0003] In a complex Internet application environment, how to improve the flexibility of the js and css language itself, and how to build a set of fast methods for project construction belonging...

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/30
CPCG06F8/22G06F8/38
Inventor 戚博文
Owner PEKING UNIV FOUNDER GRP CO LTD
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