Mapping behavior to data
AssigneeAmazon Technologies, Inc.
InventorsJohn Ingram Baker Dugaw, Zachary Mohamed Shalla, Anand Victor, Jeremy Boynes, Andrew Stuart Huntwork
Life of this patent
Estimating the term…
Abstract
Disclosed are various embodiments for the mapping of behavior to data. Multiple behavior elements from a code library that are compatible with one or more data elements of a document are determined according to a data contract associated with each one of the behavior elements. Each of the behavior elements is configured to consume one or more data elements and produce a user interface feature. One or more of the behavior elements are selected according to one or more rules. A mapping of the selected behavior elements to the data elements is generated.
Claims20
A non-transitory computer-readable medium embodying a program that, when executed in at least one computing device, causes the at least one computing device to at least:
- determine a plurality of behavior elements of a code library that are compatible with a data element of a document object model according to respective data contracts associated with individual ones of the plurality of behavior elements, the respective data contracts identifying which input data is valid for the individual ones of the plurality of behavior elements, the individual ones of the plurality of behavior elements configured to consume at least one data element as input data and produce a user interface feature;
- select a particular behavior element of the plurality of behavior elements according to a plurality of rules, the plurality of rules specifying at least one of:
- a compatibility between two or more of the plurality of behavior elements and a compatibility between at least one of the plurality of behavior elements and at least one data element;
- generate a mapping of the selected particular behavior element to the data element;
- and
- apply the selected particular behavior element to the data element.
A system, comprising:
- a data store;
- and
- at least one computing device in communication with the data store, the at least one computing device being configured to at least:
- determine a plurality of behavior elements of a code library that are compatible with a data element of a document object model according to respective data contracts associated with individual ones of the plurality of behavior elements, the respective data contracts identifying which input data is valid for the individual ones of the plurality of behavior elements, the individual ones of the plurality of behavior elements configured to consume at least one data element as input data and produce a user interface feature;
- select a particular behavior element of the plurality of behavior elements based at least in part on data describing current marketplace conditions;
- generate a mapping of the selected particular behavior element to the data element;
- and
- apply the selected particular behavior element to the data element.
A method, comprising:
- determining, via at least one of one or more computing devices, a plurality of behavior elements of a code library that are compatible with a data element of a document according to respective data contracts associated with individual ones of the plurality of behavior elements, the respective data contracts identifying which input data is valid for the individual ones of the plurality of behavior elements, the individual ones of the plurality of behavior elements configured to consume at least one data element as input data and produce a network page feature;
- selecting, via at least one of the one or more computing devices, a particular behavior element of the plurality of behavior elements according to at least one rule, the at least one rule specifying at least one of:
- a compatibility between two or more of the plurality of behavior elements and a compatibility between at least one of the plurality of behavior elements and at least one data element;
- generating, via at least one of the one or more computing devices, a mapping of the selected particular behavior element to the data element, and
- applying, via at least one of the one or more computing devices, the selected particular behavior element to the data element.
Dependencies are inferred from the claim text.