Method for rendering webpage, server and storage medium
AssigneeShopline Commerce Pte. Ltd.
InventorZhimeng Wang
Life of this patent
Estimating the term…
Loading patent…
AssigneeShopline Commerce Pte. Ltd.
InventorZhimeng Wang
Estimating the term…
A method for rendering a webpage. The method includes obtaining a template file according to a page identifier of a page to be accessed of page access request by invoking a template engine developed based on a compiled language; generating an abstract syntax tree by parsing the template file through the template engine, and performing a static verification and an optimization on the logical relationship information of the template file by the template engine based on the abstract syntax tree, and obtaining optimized rendering codes by binding business data obtained from a data source to variable in the template file according to the correspondence relationship between the variable and the business data; and generating final page codes based on the optimized rendering codes through the template engine and removing redundant information from the final page codes and sending the final page codes to the client device for rendering and displaying.
A method for rendering a webpage, comprising:
A server comprising:
A non-transitory storage medium having instructions stored thereon, when the instructions are executed by a processor of an electronic device, the processor is caused to perform a method for rendering a webpage, wherein the method comprises:
Dependencies are inferred from the claim text.