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

Single-page web application implementation method and apparatus, computer device, and storage medium

An implementation method and web application technology, which is applied in the computer field and can solve problems such as version incompatibility between front-end modules and back-end modules

Active Publication Date: 2018-12-07
WEIKUN (SHANGHAI) TECH SERVICE CO LTD
View PDF16 Cites 15 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Separate deployment of front-end and back-end makes single-page web applications often have the problem of version incompatibility between front-end modules and back-end modules

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 web application implementation method and apparatus, computer device, and storage medium
  • Single-page web application implementation method and apparatus, computer device, and storage medium
  • Single-page web application implementation method and apparatus, computer device, and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0020] In order to make the purpose, technical solution and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present application, and are not intended to limit the present application.

[0021] The single-page web application implementation method provided by this application can be applied to such as figure 1 shown in the application environment. Wherein, the first terminal 102 communicates with the server 104 through a network. The second terminal 106 communicates with the server 104 through the network. Wherein, the first terminal 102 and the second terminal 106 may respectively be, but not limited to, various personal computers, notebook computers, smart phones, tablet computers and portable wearable devices. The first terminal 102 and the second te...

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

A single-page web application implementation method and apparatus, a computer device and a storage medium are disclosed. The method comprises the following steps: when front-end resources published bya first terminal and back-end resources published by a second terminal are detected, creating a base image including a first directory and a second directory; storing the front-end resources and theback-end resources into the first directory and the second directory respectively, and deploying a reverse service agent and a back-end service component in the first directory and the second directory respectively; integrating a base image belonging to a first directory in which a reverse service agent is deployed and a second directory in which a back-end service component is deployed to obtaina mirror file; generating a single-page Web application by starting the mirror file. The method can solve the problem that the versions do not match when the front end and the back end are separated and deployed.

Description

technical field [0001] The present application relates to the field of computer technology, in particular to a single-page Web application implementation method, device, computer equipment and storage medium. Background technique [0002] A single page web application (single page web application, SPA) adopts a single page mode to realize page loading, and the page will not be reloaded during use. When the page is loaded for the first time, the single-page web application loads the page resources of all pages for caching, and then uses the js script to pull the cache to realize page switching. Compared with the traditional multi-page mode, the single-page mode can significantly improve the page switching speed. However, the front-end module and the back-end module of the single-page Web application are usually developed by different development teams. In order to facilitate maintenance, the front-end module and the back-end module are usually deployed on different servers ...

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): G06F17/30G06F9/445G06F8/61G06F8/71
CPCG06F8/63G06F8/71G06F9/44526
Inventor 于乐怡马奇徐文灏陈光谋
Owner WEIKUN (SHANGHAI) TECH SERVICE 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