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

Static page scaffold development method based on nodejs

A static page and scaffolding technology, applied in the fields of instruments, digital data processing, creation/generation of source code, etc., can solve the problems of optimization trouble, publishing difficulty, inconvenient management, etc., and achieve the effect of improving performance

Inactive Publication Date: 2019-07-23
中科遥感(深圳)卫星应用创新研究院有限公司 +2
View PDF0 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] With the development of front-end technology now, front-end development is not limited to the development of static web pages, and the logic of front-end code is becoming more and more complicated, which is inconvenient to manage. If the previous development is followed, it will lead to heavy development workload, troublesome optimization, and difficulty in publishing.
The release of Nodejs means that the front-end of the server can be developed by introducing automated construction, which solves the problems of heavy development workload, troublesome optimization and difficult release

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
  • Static page scaffold development method based on nodejs
  • Static page scaffold development method based on nodejs

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] The static page development scaffolding method based on nodejs of the present invention will be described in detail below in conjunction with accompanying drawings and embodiments of the description: wherein nodejs is a JavaScript script operating environment based on Google V8 engine; gulp is an automated construction tool based on flow; express is a platform based on Nodejs A fast, open, minimalist website service development framework; js is a scripting language that browsers can recognize and run; sass is a style language different from css; css is a style language; html is a hypertext tag language; arttemplate template is a high-performance script template engine; Httl is a view template used by a server-side programming language.

[0027] Such as figure 1 As shown, a nodejs-based static page development scaffolding method includes the following steps:

[0028] (I) Development process

[0029] Install nodejs, gulp and express first, then use gulp to build tasks t...

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 static page scaffold development method based on nodejs. The method comprises the following steps: (1) a development process, installing nodejs, gulp and express, and using gulp to construct tasks to monitor changes of all static resources, js, sass and html, automatically carrying out a compiling task, then using express as a web server for starting a web service, confisuring a route of the front-end development server, and using an arttemplate template for building a page; and (2) a packaging process: constructing a task by using gulp to complete front-end packaging. According to the method, complex-style codes can be written through sass grammar and automatically compiled into css recognized by a browser, a plurality of css or js are compressed to improve the performance, template development is used, html files are managed in a modular mode, and Hash values are added to be used for updating versions of the js files and the css files.

Description

technical field [0001] The invention relates to the technical field of page development methods, in particular to a nodejs-based static page development scaffolding method. Background technique [0002] With the development of front-end technology now, front-end development is not limited to the development of static web pages, and the logic of front-end code is becoming more and more complicated, which is inconvenient to manage. If the previous development is followed, it will lead to heavy development workload, troublesome optimization, and difficulty in publishing. . The release of Nodejs means that the front-end of the server can be developed by introducing automated construction, which solves the problems of heavy development workload, troublesome optimization and difficult release. Contents of the invention [0003] The present invention is proposed in order to overcome the shortcomings existing in the prior art, and its purpose is to provide a static page developme...

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): G06F8/30
CPCG06F8/315
Inventor 李文东李涛檀飞腾
Owner 中科遥感(深圳)卫星应用创新研究院有限公司
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