Methods for dynamic document generation
First Claim
1. A process for optimizing generation of a computer readable document incorporating static and dynamic content, comprising:
- creating and caching an instance of a first software object, said first software object including;
a template for said document, said template including placeholders for dynamically-discovered content;
a plurality of data structures; and
computer-readable instructions for processing said template;
decomposing said template into separate page components according to said instructions;
saving said page components and said dynamically-discovered content to said data structures according to said instructions;
receiving a request for said document; and
composing said document by said first software object;
wherein a separate instance of said software object is created and cached for each document.
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 process for optimizing generation of a computer readable document incorporating static and dynamic content, comprising:
-
creating and caching an instance of a first software object, said first software object including; a template for said document, said template including placeholders for dynamically-discovered content; a plurality of data structures; and computer-readable instructions for processing said template; decomposing said template into separate page components according to said instructions; saving said page components and said dynamically-discovered content to said data structures according to said instructions; receiving a request for said document; and composing said document by said first software object; wherein a separate instance of said software object is created and cached for each document. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A computer program product for optimizing generation of a computer readable document incorporating static and dynamic content, said computer program product comprising a computer usable storage medium having computer readable computer code embodied in the medium, the computer code comprising computer readable program code for:
-
creating and caching an instance of a first software object, said first software object including; a template for said document, said template including placeholders for dynamically-discovered content; a plurality of data structures; and computer-readable instructions for processing said template; decomposing said template into separate page components according to said instructions; saving said page components and said dynamically-discovered content to said data structures according to said instructions; receiving a request for said document; and composing said document by said first software object; wherein a separate instance of said software object is created and cached for each document. - View Dependent Claims (12, 13, 14, 15, 16, 17, 18, 19, 20)
-
Specification