Facilitating access to data in network page generation code
First Claim
1. A method, comprising:
- receiving, in at least one computing device, metadata supplied by a device associated with a user, the metadata specifying a configurable function that produces an executable object;
receiving, in the at least one computing device, page generation code supplied by the device associated with the user, the page generation code including a call to the configurable function, the call to the configurable function specifying at least one parameter value;
executing, in the at least one computing device, at least one service call based at least in part on the call to the configurable function to obtain a document;
automatically instantiating, in the at least one computing device, the executable object from the document; and
executing, in the at least one computing device, the page generation code to generate a network page, wherein the executable object is accessible by the page generation code, wherein the execution of the page generation code is configured to restrict the page generation code from directly executing the at least one service call.
1 Assignment
0 Petitions
Accused Products
Abstract
Disclosed are various embodiments for facilitating access to data in network page generation code supplied by customers of a hosting provider. A request for a network page is obtained from a client. The network page is associated with a network site hosted by a hosting provider on behalf of a customer. Page generation code supplied by the customer is obtained, and this code includes a dynamic data variable. One or more service calls are executed based at least in part on the dynamic data variable to obtain one or more data objects. The page generation code is executed to generate the network page in response to the request, where the page generation code is executed with the data objects in place of the dynamic data variable.
-
Citations
20 Claims
-
1. A method, comprising:
-
receiving, in at least one computing device, metadata supplied by a device associated with a user, the metadata specifying a configurable function that produces an executable object; receiving, in the at least one computing device, page generation code supplied by the device associated with the user, the page generation code including a call to the configurable function, the call to the configurable function specifying at least one parameter value; executing, in the at least one computing device, at least one service call based at least in part on the call to the configurable function to obtain a document; automatically instantiating, in the at least one computing device, the executable object from the document; and executing, in the at least one computing device, the page generation code to generate a network page, wherein the executable object is accessible by the page generation code, wherein the execution of the page generation code is configured to restrict the page generation code from directly executing the at least one service call. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A system, comprising:
-
at least one computing device; and at least one application executable in the at least one computing device, wherein, upon execution, the at least one application causes the at least one computing device to at least; receive a request for a network page from a client, the network page being associated with a network site hosted by a hosting provider on behalf of a customer; receive a metadata file supplied by a device associated with the customer that specifies a configurable function; receive page generation code supplied by the device associated with the customer, the page generation code including a dynamic data variable; restrict the page generation code from directly executing at least one service call; execute the at least one service call based at least in part on the dynamic data variable to obtain at least one data object, wherein the at least one service call is configured to return a document; instantiate the at least one data object from the document; execute the page generation code to generate the network page in response to the request, wherein the page generation code is executed with the at least one data object in place of the dynamic data variable; and send the network page to the client in response to the request. - View Dependent Claims (9, 10, 11, 12, 13, 14, 15, 16, 17)
-
-
18. A non-transitory computer-readable medium having a plurality of computer instructions executable by a computing device, wherein, upon execution, the plurality of computer instructions causes the computing device to at least:
-
receive a request for a network page from a client, the network page being associated with a network site hosted by a hosting provider on behalf of a customer; receive a metadata file supplied by a device associated with the customer that specifies a configurable function, the configurable function including a function name, at least one function parameter, and a template that specifies a use of the at least one function parameter in a uniform resource locator (URL); receive page generation code supplied by the device associated with the customer, the page generation code including a call to the configurable function that produces an executable object, the call to the configurable function specifying at least one parameter value; restrict the page generation code from directly executing at least one service call; execute the at least one service call according to the template using the at least one parameter value for the at least one function parameter in the URL, the at least one service call producing a document; automatically instantiate the executable object from the document; execute the page generation code to generate the network page, wherein the executable object is accessible by the page generation code; and send the network page to the client in response to the request. - View Dependent Claims (19, 20)
-
Specification