US2008228809A1PendingUtilityA1

Method and apparatus for generatng a dynamic web page

Assignee: IBMPriority: Oct 19, 2006Filed: May 29, 2008Published: Sep 18, 2008
Est. expiryOct 19, 2026(~0.2 yrs left)· nominal 20-yr term from priority
G06F 16/958G06F 16/972
44
PatentIndex Score
0
Cited by
0
References
0
Claims

Abstract

A method and apparatus are provided for generating a dynamic web page. A structured data context is generated based on the result of a business logic process performed in response to a request from a browser, and a template associated with the request is loaded. The structured data context includes at least one dynamic data item for the dynamic web page. The template is able to be browsed by the browser and contains associated information that corresponds to the at least one dynamic data item of the structured data context. The at least one dynamic data item of the structured data context is merged into the template so as to produce the dynamic web page.

Claims

exact text as granted — not AI-modified
1 . A method for generating a dynamic web page, the method comprising the steps of:
 generating a structured data context based on a result of a business logic process performed in response to a request from a browser, the structured data context including at least one dynamic data item for the dynamic web page;   loading a template associated with the request, the template being able to be browsed by the browser and containing associated information that corresponds to the at least one dynamic data item of the structured data context; and   merging the at least one dynamic data item of the structured data context into the template so as to produce the dynamic web page.   
   
   
       2 . The method according to  claim 1 , wherein the merging step comprises:
 traversing each of the dynamic data items of the structured data context that was generated; and   placing that dynamic data item into a corresponding location in the template if the associated information that corresponds to the dynamic data item is found in the template.   
   
   
       3 . The method according to  claim 2 , wherein the merging step further comprises:
 reporting error information when the template does not contain associated information that corresponds to the dynamic data item of the structured data context that was generated.   
   
   
       4 . The method according to  claim 2 , wherein the merging step further comprises:
 reporting error information when, after the traversing is completed, there is associated information in the template that is not replaced by one of the dynamic data items.   
   
   
       5 . The method according to  claim 1 , further comprising the step of checking syntax of the template before the merging step. 
   
   
       6 . The method according to  claim 1 , further comprising the step of:
 after the merging step, checking syntax of the dynamic web page that is produced.   
   
   
       7 . The method according to  claim 1 ,
 wherein the template is represented by a markup language, and   the associated information contained in the template that corresponds to the at least one dynamic data item of the structured data context is recorded in an attribute of a tag in the template.   
   
   
       8 . The method according to  claim 7 , wherein the template is represented by HTML, XML, or WML. 
   
   
       9 . The method according to  claim 8 , wherein the associated information contained in the template that corresponds to the at least one dynamic data items of the structured data context is recorded in an ID attribute of the tag in the template. 
   
   
       10 . A computer-readable medium encoded with a program for generating a dynamic web page, the program comprising instructions for performing the steps of:
 generating a structured data context based on a result of a business logic process performed in response to a request from a browser, the structured data context including at least one dynamic data item for the dynamic web page;   loading a template associated with the request, the template being able to be browsed by the browser and containing associated information that corresponds to the at least one dynamic data item of the structured data context; and   merging the at least one dynamic data item of the structured data context into the template so as to produce the dynamic web page.   
   
   
       11 . The computer-readable medium according to  claim 10 , wherein the merging step comprises:
 traversing each of the dynamic data items of the structured data context that was generated; and   placing that dynamic data item into a corresponding location in the template if the associated information that corresponds to the dynamic data item is found in the template.   
   
   
       12 . The computer-readable medium according to  claim 11 , wherein the merging step further comprises:
 reporting error information when the template does not contain associated information that corresponds to the dynamic data item of the structured data context that was generated.   
   
   
       13 . The computer-readable medium according to  claim 11 , wherein the merging step further comprises:
 reporting error information when, after the traversing is completed, there is associated information in the template that is not replaced by one of the dynamic data items.   
   
   
       14 . The computer-readable medium according to  claim 10 , wherein the program further comprises instructions for performing the step of checking syntax of the template before the merging step. 
   
   
       15 . The computer-readable medium according to  claim 10 ,
 wherein the template is represented by a markup language, and   the associated information contained in the template that corresponds to the at least one dynamic data item of the structured data context is recorded in an ID attribute of a tag in the template.   
   
   
       16 . An apparatus for generating a dynamic web page, the apparatus comprising:
 a business logic processing unit configured to generate a structured data context based on a result of a business logic process performed in response to a request from a browser, the structured data context including at least one dynamic data item for the dynamic web page;   a template loading unit configured to load a template associated with the request, the template being able to be browsed by the browser and containing associated information that corresponds to the at least one dynamic data item of the structured data context; and   a merging unit configured to merge the at least one dynamic data item of the structured data context into the template so as to produce the dynamic web page.   
   
   
       17 . The apparatus according to  claim 16 , wherein the merging unit comprises:
 a traversing unit configured to traverse each of the dynamic data items in the structured data context that was generated; and   a placing unit configured to place said that dynamic data item into a corresponding location in the template if the associated information that corresponds to the dynamic data item is found in the template.   
   
   
       18 . The apparatus according to  claim 17 , wherein the merging unit further comprises an error reporting unit configured to report error information when the template does not contain associated information that corresponds to the dynamic data item of the structured data context that was generated. 
   
   
       19 . The apparatus according to  claim 17 , wherein the merging unit further comprises an error reporting unit configured to report error information when, after the traversing by the traversing unit is completed, there is associated information in the template that is not replaced by one of the dynamic data items. 
   
   
       20 . The apparatus according to  claim 16 ,
 wherein the template is represented by a markup language, and   the associated information contained in the template that corresponds to the at least one dynamic data item of the structured data context is recorded in an ID attribute of a tag in the template.

Join the waitlist — get patent alerts

Track US2008228809A1 — get alerts on status changes and closely related new filings.

We store only your email — no account needed. See our privacy policy.