Methods for dynamic document generation
First Claim
1. A computer-implemented method comprising:
- generating, by one or more servers including at least one data storage device, a template for a web page, wherein the template includes at least one static content portion and at least one placeholder for at least one dynamic content portion comprising content based on information received from a client device;
storing, by the one or more servers, the at least one static content portion;
storing, by the one or more servers, the at least one placeholder for the at least one dynamic content portion in association with the stored at least one static content portion;
receiving, from the client device by the one or more servers, content corresponding to the at least one dynamic content portion; and
storing, by the one or more servers, the received content corresponding to the at least one dynamic content portion; and
mapping, by the one or more servers, the stored at least one placeholder to the received content corresponding to the at least one dynamic content portion.
5 Assignments
0 Petitions
Accused Products
Abstract
Dynamic web page generation is optimized by reducing the processing overhead required to parse the web page HTML code for tokens and insert dynamic content. Using the invention, an HTML file for a dynamic web page need be read and parsed only once throughout the life of the server. A software object parses the HTML, decomposes the page into constituent pieces and saves them to data structures as byte streams, which are cached, along with the software object, rendering multiple disk accesses unnecessary when the page is reconstituted. For subsequent requests, the dynamic page is created from the cached version, which is shareable across users and across requests. The optimization reduces server resource usage for dynamic page generation to near zero. The invention is also applicable to other documents combining static and dynamic content that require composition tools for editing.
59 Citations
20 Claims
-
1. A computer-implemented method comprising:
-
generating, by one or more servers including at least one data storage device, a template for a web page, wherein the template includes at least one static content portion and at least one placeholder for at least one dynamic content portion comprising content based on information received from a client device; storing, by the one or more servers, the at least one static content portion; storing, by the one or more servers, the at least one placeholder for the at least one dynamic content portion in association with the stored at least one static content portion; receiving, from the client device by the one or more servers, content corresponding to the at least one dynamic content portion; and storing, by the one or more servers, the received content corresponding to the at least one dynamic content portion; and mapping, by the one or more servers, the stored at least one placeholder to the received content corresponding to the at least one dynamic content portion. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A system comprising:
-
at least one processor; and at least one non-transitory computer readable storage medium storing instructions that, when executed by the at least one processor, cause the system to; generate a template for a web page, wherein the template includes at least one static content portion and at least one placeholder for at least one dynamic content portion comprising content based on information received from a client device; store the at least one static content portion; store the at least one placeholder for the at least one dynamic content portion in association with the stored at least one static content portion; receive, from the client device, content corresponding to the at least one dynamic content portion; store the received content corresponding to the at least one dynamic content portion; and map the stored at least one placeholder to the received content corresponding to the at least one dynamic content portion. - View Dependent Claims (9, 10, 11, 12, 13)
-
-
14. A non-transitory computer-readable medium storing instructions that, when executed by at least one processor, cause a computer system to:
-
generate a template for a web page, wherein the template includes at least one static content portion and at least one placeholder for at least one dynamic content portion comprising content based on information received from a client device; store the at least one static content portion; store the at least one placeholder for the at least one dynamic content portion in association with the stored at least one static content portion; receive, from the client device, content corresponding to the at least one dynamic content portion; and store the received content corresponding to the at least one dynamic content portion; and map the stored at least one placeholder to the received content corresponding to the at least one dynamic content portion. - View Dependent Claims (15, 16, 17, 18, 19)
-
-
20. A process for optimizing generation of a computer readable document incorporating static and dynamic content, comprising the steps of:
-
providing, by at least one processor, a template file of said document, said file resident on a non-transitory mass storage device of a first computer; reading said template into memory; creating, by the at least one processor, a content composer, said content composer comprising a first software object; parsing, by the at least one processor, said template by said content composer, said template including one or more portions of static content and one or more placeholders corresponding to one or more portions of dynamic content, said parsing comprising deconstructing the template in order to separate the one or more portions of static content and the one or more placeholders; decomposing said template into separate page components by said content composer; converting, by the at least one processor, said components into strings of computer readable code by said content composer; storing said strings to one or more data structures; and caching said data structures containing said page components.
-
Specification