System and method for routing data
First Claim
1. A method for routing data of a declarative source expression to a destination, said method comprising:
- analyzing said declarative source expression of an application at compile-time on a dynamic data system to discover a variable property in the declarative source expression of the application;
automatically generating executable code for creating a watcher object at runtime for the variable property discovered in the declarative source expression of the application, said executable code being configured to observe a change in the variable property discovered in the declarative source expression of the application and to provide a change event notification when the change in the variable property discovered in the declarative source expression of the application is observed; and
automatically generating executable code for creating a binding object that acts in response to the change event notification at runtime to cause the declarative source expression of the application to be executed with the change in the variable property discovered in the declarative source expression of the application.
3 Assignments
0 Petitions
Accused Products
Abstract
A system and method is disclosed for routing data of a declarative source expression to a destination. Declarative source expressions are analyzed at compile-time to discover variable properties. As such properties are discovered, a binding object is created and a list of watcher objects is generated associated with the particular variable properties. The watcher object includes a change event notification which is broadcast when a change in the property is detected. When a change event notification is received, a binding object, which is also automatically generated by the compiler, is executed causing the variable property to be read and the declarative source expression to be re-evaluated which propagates the property changes through the application.
-
Citations
24 Claims
-
1. A method for routing data of a declarative source expression to a destination, said method comprising:
-
analyzing said declarative source expression of an application at compile-time on a dynamic data system to discover a variable property in the declarative source expression of the application; automatically generating executable code for creating a watcher object at runtime for the variable property discovered in the declarative source expression of the application, said executable code being configured to observe a change in the variable property discovered in the declarative source expression of the application and to provide a change event notification when the change in the variable property discovered in the declarative source expression of the application is observed; and automatically generating executable code for creating a binding object that acts in response to the change event notification at runtime to cause the declarative source expression of the application to be executed with the change in the variable property discovered in the declarative source expression of the application. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A computer program product having computer program logic recorded on a computer readable medium, the computer program product comprising:
-
code for parsing a declarative source expression into a node tree at compile time of an application; code for examining said node tree to discover a variable property in the node tree; code for automatically generating executable code for creating, at runtime, a watcher object associated with the variable property discovered from the node tree, said watcher object being configured to observe a change in the variable property discovered from the node tree and to provide a change event notification when the change in the variable property discovered from the node tree is observed; code for automatically generating executable code for creating a binding object that acts in response to the change event notification at runtime to cause the declarative source expression of the application to be executed with the change in the variable property discovered from the node tree. - View Dependent Claims (8, 9, 10, 11, 12)
-
-
13. A data binding system for at least one declarative source expression in a dynamic data application, said data binding system comprising:
-
a computer comprising a compiler that is capable of compiling the dynamic data application by; discovering a variable property in the at least one declarative source expression in the dynamic data application; automatically generating executable code for creating a watcher object at runtime for the variable property, the executable code being configured to detect a change in the variable property; and automatically generating executable code for creating a binding object during runtime, the executable code for creating the binding object being configured to cause execution of said at least one declarative source expression in the dynamic data application using said change in the variable property, wherein the dynamic data application compiled by the compiler is capable of being stored on the computer. - View Dependent Claims (14, 15, 16)
-
-
17. A method comprising:
-
monitoring a variable property within a declarative source expression in an application on a dynamic data system for a property change during runtime on the dynamic data system, the variable property being discovered during compile-time on the dynamic data system; providing a change event notification upon a detection of said property change during runtime; and responsive to the change event notification, executing said declarative source expression in the application during runtime using said property change. - View Dependent Claims (18, 19, 20)
-
-
21. A system for binding data into a declarative source expression comprising:
a computer comprising a watcher object and a binding object, the watcher object being capable of watching a variable within the declarative source expression in an application for a change during runtime, the variable being discovered during compile-time, and being capable of transmitting a change event upon a detection of said change during runtime, the binding object being capable of, in response to the change event, executing said declarative source expression in the application using said change during runtime. - View Dependent Claims (22, 23, 24)
Specification