Web page updating method and website page updating system
A website page and update method technology, applied in the field of network replacement, can solve problems such as restarting the server, disconnection of website page sessions, loss of user information, etc., and achieves the effect of good convenience and flexibility
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
no. 1 example
[0049] The present invention provides a first embodiment of a method for updating a website page, including:
[0050] Step 101: The back-end template engine generates a template file according to a preset template, and the template file stores all information of a website page.
[0051] The template engine is created to separate the user interface from the business data. It can generate documents in a specific format. For example, the template engine used on a website will generate a standard hypertext markup language document.
[0052] Step 102: The backend sends the template file to the frontend, so that when the user accesses the website, the frontend generates a new website page according to the template file.
[0053] In this embodiment, both the front end and the back end are proper nouns in this field, so they will not be detailed here.
[0054] It is understandable that after the front end receives the template file, it will save the template file in the root directory.
[0055] ...
no. 2 example
[0057] The present invention provides a second embodiment of a method for updating a website page, including:
[0058] Step 201: The template engine at the back end generates a template file according to a preset template, and the template file stores all information of the website page.
[0059] In this embodiment, the template file may include one of hypertext markup language code, cascading style sheet code, Java script code, value expressions nested in the template engine, and tags nested in the template engine. Many kinds.
[0060] There are many template engines, and the format of template files generated by different template engines is different.
[0061] For example, the template engine can be FreeMarker, and the corresponding template file is an FTL file.
[0062] The template engine can also be a velocity template engine, which can also achieve hot updates of website pages.
[0063] The number of template files can be at least two, because some website pages are composed of o...
no. 3 example
[0066] The present invention provides a third embodiment of a method for updating a website page, including:
[0067] In step 301, the template engine at the back end generates a template file according to a preset template, and the template file stores all the information of the website page.
[0068] The content of step 301 is the same as the content of step 201 in the second embodiment of the present application. For specific description, please refer to the content of step 201 in the first embodiment, which will not be repeated here.
[0069] Step 302: After receiving the template file, the background management system reads the template file, and then uses key-value pairs to pass parameters to replace the value expression, and finally generates new page content after editing and saves it as a new template file.
[0070] Step 303: The background management system sends the new template file to the front end.
[0071] Send the template file to the back-end management system for editi...
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