Composable events for dynamic user interface composition
First Claim
Patent Images
1. A method of providing a user interface, comprising:
- prior to a runtime of an application, receiving an indication of a selection associated with a custom user interface event;
in response to the indication, providing a template to assist defining the custom user interface event in a structured manner;
prior to the runtime of the application, receiving at least in part via the template a definition of the custom user interface event, the definition including an identification of a data value to be associated with the custom user interface event, an indication of a scope of the custom user interface event, wherein the custom user interface event is consumed only within the indicated scope by other page elements outside of a first application user interface element selected to publish the custom user interface event, and one or more event triggers in response to which an instance of the custom user interface event is to be published;
prior to the runtime of the application, receiving an indication of the first application user interface element to publish the custom user interface event and associating the first application user interface element with the custom user interface event; and
generating programmatically, based at least in part on the definition, an application user interface code configured to provide, during the runtime of the application, an application user interface page to a client, the application user interface page comprising one or more application user interface elements including the first application user interface element, wherein the first application user interface element is configured to publish, upon occurrence of at least one of the one or more event triggers, for consumption by one or more elements of the application user interface page within the scope, the instance of the custom user interface event with an associated data value according to the identification of the data value and wherein the application user interface code is configured to cause the associated data value to be stored in a content cache from which the data value is read by the one or more elements of the application user interface page within the scope until another instance of the custom user interface event is published.
7 Assignments
0 Petitions
Accused Products
Abstract
Composable events to provide a dynamic user interface are disclosed. In various embodiments, a definition of a custom user interface event is received. The definition includes an identification of a data value to be associated with the event, a scope of the event within which the event will be consumed, and an event trigger in response to which an instance of the custom user interface event is to be published. Application user interface code configured to provide one or more application user interface elements configured to publish or subscribe to the custom user interface event is generated programmatically, based at least in part on the definition.
76 Citations
19 Claims
-
1. A method of providing a user interface, comprising:
-
prior to a runtime of an application, receiving an indication of a selection associated with a custom user interface event; in response to the indication, providing a template to assist defining the custom user interface event in a structured manner; prior to the runtime of the application, receiving at least in part via the template a definition of the custom user interface event, the definition including an identification of a data value to be associated with the custom user interface event, an indication of a scope of the custom user interface event, wherein the custom user interface event is consumed only within the indicated scope by other page elements outside of a first application user interface element selected to publish the custom user interface event, and one or more event triggers in response to which an instance of the custom user interface event is to be published; prior to the runtime of the application, receiving an indication of the first application user interface element to publish the custom user interface event and associating the first application user interface element with the custom user interface event; and generating programmatically, based at least in part on the definition, an application user interface code configured to provide, during the runtime of the application, an application user interface page to a client, the application user interface page comprising one or more application user interface elements including the first application user interface element, wherein the first application user interface element is configured to publish, upon occurrence of at least one of the one or more event triggers, for consumption by one or more elements of the application user interface page within the scope, the instance of the custom user interface event with an associated data value according to the identification of the data value and wherein the application user interface code is configured to cause the associated data value to be stored in a content cache from which the data value is read by the one or more elements of the application user interface page within the scope until another instance of the custom user interface event is published. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12)
-
-
13. A system, comprising:
-
a data storage device; and a processor coupled to the data storage device and configured to; prior to a runtime of an application, receive an indication of a selection associated with a custom user interface event; in response to the indication, provide a template to assist defining the custom user interface event in a structured manner; prior to the runtime of the application, receive, at least in part via the template and store in the data storage device, a definition of the custom user interface event, the definition including an identification of a data value to be associated with the custom user interface event, an indication of a scope of the custom user interface event, wherein the custom user interface event is consumed only within the indicated scope by page elements outside of a first application user interface element selected to publish the custom user interface event, and one or more event triggers in response to which an instance of the custom user interface event is to be published; prior to the runtime of the application, receive an indication of the first application user interface element to publish the custom user interface event and associate the first application user interface element with the custom user interface event; and generate programmatically, based at least in part on the definition, an application user interface code configured to provide, during the runtime of the application, an application user interface page to a client, the application user interface page comprising one or more application user interface elements, wherein the one or more application user interface elements include the first application user interface element configured to publish, upon occurrence of at least one of the one or more event triggers, for consumption by one or more elements of the application user interface page within the scope, the instance of the custom user interface event with an associated data value according to the identification of the data value, wherein the application user interface code is configured to cause the associated data value to be stored in a content cache from which the data value is read by the one or more elements of the application user interface page within the scope until another instance of the custom user interface event is to be published. - View Dependent Claims (14, 15, 16, 17, 18)
-
-
19. A computer program product to provide a user interface, the computer program product being embodied in a non-transitory computer-readable storage medium and comprising computer instructions for:
-
prior to a runtime of an application, receiving an indication of a selection associated with a custom user interface event; in response to the indication, providing a template to assist defining the custom user interface event in a structured manner; prior to the runtime of the application, receiving at least in part via the template a definition of the custom user interface event, the definition including an identification of a data value to be associated with the custom user interface event, an indication of a scope of the custom user interface event, wherein which the custom user interface event is consumed only within the indicated scope by page elements outside of a first application user interface element selected to publish the custom user interface event, and one or more event triggers in response to which an instance of the custom user interface event is to be published; prior to the runtime of the application, receiving a selection of the first application user interface element to publish the custom user interface event and associating the first application user interface element with the custom user interface event; and generating programmatically, based at least in part on the definition, an application user interface code configured to provide, during the runtime of the application, an application user interface page to a client, the application user interface page comprising one or more application user interface elements, wherein the one or more application user interface elements include the first application user interface element configured to publish, upon occurrence of at least one of the one or more event triggers, for consumption by one or more elements of the application user interface page within the scope, the instance of the custom user interface event with an associated data value according to the indication of the data value, wherein the application user interface code is configured to cause the associated to be stored in a content cache from which the data value is read by the one or more elements of the application user interface page within the scope until another instance of the custom user interface event is to be published.
-
Specification