Method and system for data binding in a block structured user interface scripting language
First Claim
Patent Images
1. A computer-implemented method for binding data in a user interface (UI) script, comprising:
- generating a tree structure that corresponds to the UI script;
automatically determining whether the tree structure includes cloned templates that were previously grafted to the tree structure and automatically removing any cloned templates that were previously grafted to the tree such that templates that already include data from an external data source are removed from the tree, wherein the tree structure is in a state where data binding has yet to occur and the cloned templates are removed before cloning a reference template;
accessing the reference template;
cloning the reference template to create a cloned reference template while maintaining the reference template such that the reference template is available for subsequent iterations of binding data;
inserting the data into the cloned reference template;
grafting the cloned reference template into the tree structure after the data has been inserted into the cloned reference template; and
displaying a UI output according to the tree structure, whereby the UI output is dynamically updated with the data.
2 Assignments
0 Petitions
Accused Products
Abstract
A method and system is generally directed to retrieving data from an external source and binding the data to a structure used in executing a UI script. The external source may be on a local machine located across a network. The UI script is transformed to a tree structure. The relevant portions of the tree structure are cloned and manipulated to insert the data from the external source. The cloned portions of the tree structure are then grafted back into the tree. The tree structure is then used to display the UI corresponding to the UI script that includes the data from the external source.
-
Citations
25 Claims
-
1. A computer-implemented method for binding data in a user interface (UI) script, comprising:
-
generating a tree structure that corresponds to the UI script; automatically determining whether the tree structure includes cloned templates that were previously grafted to the tree structure and automatically removing any cloned templates that were previously grafted to the tree such that templates that already include data from an external data source are removed from the tree, wherein the tree structure is in a state where data binding has yet to occur and the cloned templates are removed before cloning a reference template; accessing the reference template; cloning the reference template to create a cloned reference template while maintaining the reference template such that the reference template is available for subsequent iterations of binding data; inserting the data into the cloned reference template; grafting the cloned reference template into the tree structure after the data has been inserted into the cloned reference template; and displaying a UI output according to the tree structure, whereby the UI output is dynamically updated with the data. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A computer storage medium that includes computer-executable instructions for binding data to a user interface (UI) script, comprising:
-
generating a tree structure that corresponds to the UI script; automatically determining whether the tree structure includes cloned templates that were previously grafted to the tree structure and automatically removing any cloned templates that were previously grafted to the tree such that templates that already include data from an external data source are removed from the tree, wherein the tree structure is in a state where data binding has yet to occur and the cloned templates are removed before cloning a reference template; cloning the reference template to create a cloned reference template while maintaining the reference template such that the reference template is available for subsequent iterations of binding data;
wherein a portion of the reference template is associated with a portion of the UI script that includes a placeholder for data;replacing the placeholder in the cloned reference template with the data; grafting the cloned reference template into the tree structure; and displaying a UI output according to the tree structure, whereby the UI output is dynamically updated with the data. - View Dependent Claims (12, 13, 14, 15, 16, 17, 18, 19)
-
-
20. A system for binding data to a user interface (UI) script, comprising:
-
memory; a target user interface device that includes a first application that is configured to; generate a tree structure that corresponds to the UI script; automatically determining whether the tree structure includes cloned templates that were previously grafted to the tree structure and automatically removing any cloned templates that were previously grafted to the tree such that templates that already include data from a separate data source are removed from the tree;
wherein the tree structure is in a state where data binding has vet to occur and the previously grafted cloned templates are removed before cloning a reference template;cloning the reference template to create a cloned reference template while maintaining the reference template such that the reference template is available for subsequent iterations of binding data; inserting the data into the cloned reference template; grafting the cloned reference template into the tree structure after the data has been inserted; and displaying a UI output according to the tree structure, whereby the UI output is dynamically updated with the data. - View Dependent Claims (21, 22, 23, 24, 25)
-
Specification