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

Single page building and loading method

A single-page, page-by-page technology, applied in the field of web pages, can solve problems such as JSP program debugging difficulties, and achieve the effects of speeding up development efficiency, convenient troubleshooting, and fast rendering speed

Active Publication Date: 2020-02-18
上海网梯数码科技有限公司
View PDF5 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Therefore, it is very difficult to debug JSP programs.

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
  • Single page building and loading method
  • Single page building and loading method
  • Single page building and loading method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0036] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0037] Such as figure 1 , figure 2 and image 3 As shown, a single page construction and loading method, the single page construction and loading method includes the following steps:

[0038] Step S1: Build a development environment;

[0039] Step S2: Writing configuration files for dependent resource files;

[0040] Step S3: compiling the task script of the source file;

[0041] Step S4: configure the routing file according to the business requirements ...

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 single page building and loading method. The method comprises the following steps of building a development environment; compiling a configuration file for the dependent resource file; compiling a task script of the source file; configuring a routing file according to the business requirements of the project; receiving an access request, analyzing the request and skippingto a specified request page; analyzing and obtaining routing configuration and a path according to the configuration file; loading a routing specified file according to the routing file; executing arouting path, triggering a data request method, and executing to achieve final page display. Only one JSP page is provided, loaded files cannot be repeatedly loaded, the rendering speed of the browseris high, and the number of requests for the server is small; compiled instructions and templates can be repeatedly utilized, front and rear ends of data requests are separated, and the development efficiency is improved.

Description

technical field [0001] The invention relates to the technical field of web pages, in particular to a method for building and loading a single page. Background technique [0002] At present, the front-end pages use JSP technology (using Java programming language to write XML-like tags and scriptlets to encapsulate the processing logic of generating dynamic web pages) to make dynamic web pages. When users visit each time they open a new web page, they need to reload resource files and data, causing the page to take too long to respond. At the same time, JSP technology cannot form a systematic framework structure, and new dynamic pages must be designed every time new requirements or functions are proposed. For example: [0003] Scenario 1: When a user wants to jump to a page of the same level, the same resource file will be loaded repeatedly, and the high-efficiency operation of java requires a large amount of memory and hard disk space. JSP technology not only reduces the s...

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/38G06F8/41
CPCG06F8/38G06F8/41
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