Facilitating access to data in network page generation code
First Claim
1. A method, comprising:
- obtaining, in at least one computing device, metadata supplied by a customer, the metadata specifying a configurable function that produces an executable object;
obtaining, in the at least one computing device, page generation code supplied by the customer, the page generation code corresponding to JavaServer Pages (JSP) code, 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 an extensible markup language (XML) document;
automatically instantiating, in the at least one computing device, an executable object from the XML document using XPath code; 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.
26 Citations
24 Claims
-
1. A method, comprising:
-
obtaining, in at least one computing device, metadata supplied by a customer, the metadata specifying a configurable function that produces an executable object; obtaining, in the at least one computing device, page generation code supplied by the customer, the page generation code corresponding to JavaServer Pages (JSP) code, 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 an extensible markup language (XML) document; automatically instantiating, in the at least one computing device, an executable object from the XML document using XPath code; 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)
-
-
9. A system, comprising:
-
at least one computing device; and at least one application executable in the at least one computing device, the at least one application comprising; logic that obtains 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; logic that obtains a metadata file supplied by the customer, the metadata file specifying a configurable function that produces at least one data object; logic that obtains page generation code supplied by the customer, the page generation code corresponding to JavaServer Pages (JSP) code, the page generation code including a call to the configurable function; logic that executes at least one service call to obtain the at least one data object, wherein the at least one service call is configured to return an extensible markup language (XML) document, and the logic that executes the at least one service call is further configured to instantiate the at least one data object based at least in part on at least one XPath expression; logic that executes 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 call to the configurable function, wherein the logic that executes is configured to restrict the page generation code from directly executing the at least one service call; and logic that sends the network page to the client in response to the request. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21)
-
-
22. A non-transitory computer-readable medium embodying at least one program executable in a computing device, the program comprising:
-
code that obtains 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; code that obtains a metadata file supplied by 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); code that obtains page generation code supplied by the customer, the page generation code corresponding to JavaServer Pages (JSP) code, 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; code that restricts the page generation code from directly executing at least one service call; code that executes 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 an extensible markup language (XML) document; code that automatically instantiates the executable object from the XML document using XPath code; code that executes the page generation code to generate the network page, wherein the executable object is accessible by the page generation code; and code that sends the network page to the client in response to the request. - View Dependent Claims (23, 24)
-
Specification