Mapping behavior to data
First Claim
1. A non-transitory computer-readable medium storing a program executable in a computing resource, the program comprising:
- code that obtains a request for a network page;
code that automatically determines a plurality of behavior elements of a code library that are compatible with a data element of a document object model according to a respective data contract associated with individual ones of the plurality of behavior elements, the respective data contract defining 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 and produce a network page feature according to a behavior;
code that automatically selects one of the plurality of behavior elements according to a plurality of rules, thereby producing a single selected behavior element, a first one of the plurality of rules enforcing compliance with a data security standard, and a second one of the plurality of rules defining a user request for a behavior to be applied to a set of data elements;
code that automatically generates a mapping of the single selected behavior element to the data element; and
code that generates the network page according to the document object model and the mapping, the single selected behavior element being applied to the data element when the network page is generated.
1 Assignment
0 Petitions
Accused Products
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 automatically 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 network page feature according to a behavior. One or more of the behavior elements are selected automatically according to a plurality of rules, thereby producing one or more selected behavior elements. A mapping of the one or more selected behavior elements to the one or more data elements is automatically generated.
11 Citations
21 Claims
-
1. A non-transitory computer-readable medium storing a program executable in a computing resource, the program comprising:
-
code that obtains a request for a network page; code that automatically determines a plurality of behavior elements of a code library that are compatible with a data element of a document object model according to a respective data contract associated with individual ones of the plurality of behavior elements, the respective data contract defining 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 and produce a network page feature according to a behavior; code that automatically selects one of the plurality of behavior elements according to a plurality of rules, thereby producing a single selected behavior element, a first one of the plurality of rules enforcing compliance with a data security standard, and a second one of the plurality of rules defining a user request for a behavior to be applied to a set of data elements; code that automatically generates a mapping of the single selected behavior element to the data element; and code that generates the network page according to the document object model and the mapping, the single selected behavior element being applied to the data element when the network page is generated. - View Dependent Claims (2, 3)
-
-
4. A system, comprising:
-
at least one computing device; and a data contract marketplace service executable in the at least one computing device, the data contract marketplace service comprising; logic that obtains a request for a network page; logic that automatically determines a plurality of behavior elements of a code library that are compatible with a data element of a document object model according to a respective data contract associated with individual ones of the plurality of behavior elements, the respective data contract defining 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 and produce a network page feature according to a behavior; logic that automatically selects one of the behavior elements according to a plurality of rules, thereby producing a single selected behavior element, a first one of the plurality of rules enforcing compliance with a data security standard, and a second one of the plurality of rules defining a user request for a behavior to be applied to a set of data elements; logic that automatically generates a mapping of the selected behavior element to the data element; and logic that generates the network page according to the document object model and the mapping, the single selected behavior element being applied to the data element when the network page is generated. - View Dependent Claims (5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15)
-
-
16. A method, comprising:
-
obtaining, in at least one computing device, a request for a network page; automatically determining, in the at least one computing device, a plurality of behavior elements of a code library that are compatible with a data element of a document object model according to a respective data contract associated with individual ones of the plurality of behavior elements, the respective data contract defining 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 and produce a network page feature according to a behavior; automatically selecting, in the at least one computing device, one of the plurality of behavior elements according to a plurality of rules, thereby producing a single selected behavior element, a first one of the plurality of rules enforcing compliance with a data security standard, and a second one of the plurality of rules defining a user request for a behavior to be applied to a set of data elements; generating, in the at least one computing device, a mapping of the single selected behavior element to the data element; and generating, in the at least one computing device, the network page according to the document object model and the mapping, the single selected behavior element being applied to the data element in the network page. - View Dependent Claims (17, 18, 19, 20, 21)
-
Specification