Page rendering method and device, server and storage medium
A page and page entry technology, applied in program control devices, user interface execution, program loading/starting, etc., can solve the problems of high server rendering maintenance risk and high cost investment, improve page rendering efficiency, reduce maintenance risk and maintenance cost effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0038] Figure 1a It is a schematic flow chart of a page rendering method provided by Embodiment 1 of the present invention. This method is applicable to the case of performing server rendering on a page of a single-page web application. The method can be executed by a page rendering device, wherein the device can be composed of software and / or implemented by hardware, and generally integrated on the back-end server corresponding to the application software.
[0039] Such as Figure 1a As shown, a page rendering method provided by Embodiment 1 of the present invention specifically includes the following operations:
[0040] It should be noted that the execution subject of the page rendering method provided by the embodiment of the present invention can be regarded as a server, which can be regarded as the back-end server of at least two developed application software, and can perform page rendering for multiple application software, And it can be understood that the page rend...
Embodiment 2
[0054] Figure 2a It is a schematic flow chart of a page rendering method provided by Embodiment 2 of the present invention. This embodiment is optimized based on the above embodiments. The SPA associated with the application. At the same time, this embodiment also optimizes and adds: the service entry file required for page rendering is generated based on the configured SPA.
[0055] In addition, this embodiment will further determine the target SPA corresponding to the application software, and obtain the component data information corresponding to the page call request, which is embodied as: obtaining the rendering parameter information in the service entry file; The SPA list in the parameter information is associated with the page entry file of the application software, and the target SPA is determined according to the page entry file; the Uniform Resource Locator URL in the page call request is parsed to obtain the page name in the URL; Find the routing configuration fi...
Embodiment 3
[0087] image 3 A structural block diagram of a page rendering device provided by Embodiment 3 of the present invention, the device is suitable for performing server rendering on the pages of a single-page web application, the device can be implemented by software and / or hardware, and is generally integrated in the application on the backend server corresponding to the software. Such as image 3 As shown, the device includes: a request monitoring module 31 , a target information determining module 32 and a page generating module 33 .
[0088] Wherein, the request monitoring module 31 is used to monitor the page calling request of the application software;
[0089] The target information determination module 32 is configured to determine the target single-page web application SPA corresponding to the application software, and obtain component data information corresponding to the page call request, wherein the target SPA is pre-configured according to the set SPA configuratio...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


