Templating system and method for updating content in real time
OwnerRavi Verma, Manish Thakurinventors
Life of this patent
Estimating the term…
Abstract
A templating system is provided. The templating system separates the fixed and dynamic parts of a code from a template. The fixed part is maintained at the client end and the dynamic part is maintained at the server end of a network. The templating system processes the fixed parts, dynamic parts, and a data model together to generate a result document. The result document is updated at the client end in real time by transmitting only the dynamically changing components of the code from the server end to the client end.
Claims29
A method for processing a template document in a client-server architecture, for generating a result document and keeping the result document updated with the changes in a data model at a run time, the method comprising:
- compiling the template document to form server side constructs and client side constructs;
- executing the server side constructs using the data model;
- executing the client side constructs, to generate the result document;
- generating a set of commands by the server side constructs, when there is a run time change in the data model;
- executing the set of commands by the client side constructs;
- and
- dynamically updating the result document, to display the run time changes in the data model.
A method for processing a template document in a client-server architecture, for generating a result document and keeping the result document updated with the changes in a data model at a run time, the method comprising:
- identifying a fixed markup language part of the template document for client side constructs;
- generating a script language code for the client side constructs;
- identifying a plurality of control constructs of the template document as a block, a block holder, an expression holder, a plurality of variable declarations, a plurality of variable assignments and a plurality of server actions;
- forming the server side constructs from the control constructs;
- creating a control tree data structure using the server side constructs, to capture run time changes in the data model;
- processing the control tree data structure that generates a set of commands to the client side;
- executing the set of commands at the client side to generate a display tree data structure;
- processing the display tree data structure to generate the result document, wherein the result document captures the run time changes in the data model;
- and
- dynamically updating the result document, to display the run time changes in the data model.
A computer program product for use with a computer, the computer program product comprising a computer usable medium having a computer readable program code embodied therein for processing a template document in a client-server architecture, for generating a result document and keeping the result document updated with the changes in a data model at a run time, the computer program code performing:
- compiling the template document to form server side constructs and client side constructs;
- executing the server side constructs using the data model;
- executing the client side constructs, to generate the result document;
- generating a set of commands by the server side constructs, when there is a run time change in the data model;
- executing the set of commands by the client side constructs;
- and
- dynamically updating the result document, to display the run time changes in the data model.
Dependencies are inferred from the claim text.