Page template engine rendering method based on NodeJS
A page template and page technology, applied in the field of web page rendering, can solve the problems that SPA cannot be used as a general solution, the development method is too heavy, and the proportion is small, so as to improve development efficiency, facilitate collaboration, and improve the safety index.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0020] Such as figure 1 As shown, the present invention discloses a NodeJS-based page template engine rendering method, which includes the following steps:
[0021] A NodeJS-based page template engine rendering method, comprising the following steps:
[0022] Step 1. Through the nginx configuration, the page request is forwarded to the NodeJS terminal that is listening to the corresponding port;
[0023] Step 2. Parse the URL, obtain the corresponding page name and the module it belongs to, and match the configuration of the page by reading the page configuration file combined with the module name, including the page name, whether filtering login is required, and whether synchronous rendering of the page template and data is required ; If the module does not exist or there is no such page under the module, then jump to the 404 page;
[0024] Step 3. If the page exists, determine whether it is necessary to filter the login. If the page needs to filter the login, then request ...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com