US2005091583A1PendingUtilityA1

String template pages for generating HTML document

Assignee: MICROSOFT CORPPriority: Oct 30, 2000Filed: Dec 10, 2004Published: Apr 28, 2005
Est. expiryOct 30, 2020(expired)· nominal 20-yr term from priority
G06F 16/958
46
PatentIndex Score
0
Cited by
0
References
0
Claims

Abstract

A system and method is provided for generating dynamically changing HTML documents at a relatively quick rate in response to a client request. The system and method provide separation of the constant text and the code embedded in the HTML documents. An executable component is employed that includes all the basic functionality typically embedded in script code of a plurality of HTML documents. The dynamically generated text is broken down into string template pages. Each string template page can be authored as a single file and includes all the information necessary to complete a request. A string template page includes one or more strings and each string is made up of a text constant and can include one or more argument variables. Each string template page is provided with identifiers for pages, text constants and variable portions of strings. The pages are read, parsed and processed into a data structure into memory by the executable component for efficient use at runtime.

Claims

exact text as granted — not AI-modified
1 . A computer implemented method for providing a system for servicing a client request, comprising: 
 defining code for servicing the client request;    defining text constants to be used by the code;    assigning identifiers to the text constants;    providing at least one string template page with the defined text constants and assigned identifiers; and    providing executable code with the defined code and assigned identifiers of the text constants, the executable code being operable to load the defined text constants into a memory prior to runtime and reference the defined text constants employing the assigned identifiers to insert the defined text constants into the at least one string template page and transmit the at least one string template page at runtime to the client in response to a client request.    
   
   
       2 . The method of  claim 1 , further comprising defining argument variables to be inserted into the text constants and assigning identifier numbers to the argument variables.  
   
   
       3 . The method of  claim 2 , the executable code being operable to reference the assigned identified numbers at runtime to provide at least one argument variable result and insert the argument variable result into the text constant at runtime.  
   
   
       4 . A computer implemented method for servicing a client request, comprising: 
 providing at least one string template page with at least one text constant and assigning an identifier corresponding to a respective text constant for each of the at least one text constant;    parsing the at least one string template page for the at least text constant and retaining the corresponding assigned identifier;    storing the at least one text constant in a memory and retaining a memory location for the stored text constant;    receiving a request from a client;    retrieving the at least text string constant by utilizing the corresponding assigned identifier and the memory location for the stored text constant;    aggregating the retrieved text constant into a document; and    returning the document to the client.    
   
   
       5 . The method of  claim 4 , further comprising providing the at least one text constant of the at least one string template page with at least one argument and a corresponding argument number.  
   
   
       6 . The method of  claim 5 , further comprising parsing the at least one string template page for the location of the argument within the at least one text constant and the corresponding argument number and storing the location of the argument within the at least one text constant in the memory and retaining the corresponding argument number and memory location.  
   
   
       7 . The method of  claim 6 , further comprising retrieving the location of the argument within the at least one text constant from the memory location and utilizing the argument number and the location of the argument within the at least one text constant to insert an argument variable result into the retrieved text constant.  
   
   
       8 . The method of  claim 7 , further comprising providing each of the at least one text constants of the at least one string template page with a new string indicator to identify each of the at least one text constant and providing each of the arguments with a new argument indicator to identify each of the arguments within the at least one text constant.  
   
   
       9 . The method of  claim 4 , wherein retaining a memory location for the stored text constant comprises retaining a pointer to the memory location.  
   
   
       10 . The method of  claim 4 , further comprising monitoring any changes occurring in the at least one string template page and repeating the step of parsing and storing upon a detection of any change in the at least one string template page.  
   
   
       11 . The method of  claim 4 , the at least one text constant being an HTML text constant.

Join the waitlist — get patent alerts

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

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