Systems and methods for dynamic document generation
First Claim
1. A computer-implemented method for electronically creating a template for generating a computer readable document incorporating static and dynamic content on a server, the method comprising:
- parsing a template for a computer readable document by a processor of a server, the template including one or more portions of static content and one or more placeholders corresponding to one or more portions of dynamic content, the parsing comprising deconstructing the template in order to separate the one or more portions of static content and the one or more placeholders;
storing the one or more portions of static content and the one or more placeholders in one or more traversable data structures in memory of the server;
receiving, at the server, a request for the document from a client computer in communication with the server;
composing the document by the processor by traversing the one or more data structures to retrieve the one or more portions of dynamic content and to retrieve the one or more portions of static content; and
causing the document to be sent from the server to the client computer,wherein the dynamic content comprises content received from the client computer.
7 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.
21 Citations
12 Claims
-
1. A computer-implemented method for electronically creating a template for generating a computer readable document incorporating static and dynamic content on a server, the method comprising:
-
parsing a template for a computer readable document by a processor of a server, the template including one or more portions of static content and one or more placeholders corresponding to one or more portions of dynamic content, the parsing comprising deconstructing the template in order to separate the one or more portions of static content and the one or more placeholders; storing the one or more portions of static content and the one or more placeholders in one or more traversable data structures in memory of the server; receiving, at the server, a request for the document from a client computer in communication with the server; composing the document by the processor by traversing the one or more data structures to retrieve the one or more portions of dynamic content and to retrieve the one or more portions of static content; and causing the document to be sent from the server to the client computer, wherein the dynamic content comprises content received from the client computer.
-
-
2. A computer-implemented method for generating a computer readable file based on a set of instructions comprising:
-
providing a set of instructions on a server system for generating a computer readable file, the set of instructions including at least one static content portion and at least one reference to at least one dynamic content portion, the server system including at least one storage data structure; separating the at least one static content portion of the set of instructions from the at least one reference to the at least one dynamic content portion of the set of instructions; storing the at least one static content portion of the set of instructions and the at least one reference to the at least once dynamic content portion of the set of instructions in the at least one data storage structure of the server system; and wherein the at least one dynamic content portion comprises content received from a client system. - View Dependent Claims (3, 4, 5, 6, 7, 8, 9, 10, 11, 12)
-
Specification