Patent ID: 8775559

Claim:
A non-transitory computer-readable medium embodying a program executable in a computing device, the program comprising: code that aggregates electronic commerce data associated with a hosted electronic commerce platform from a plurality of data sources, the hosted electronic commerce platform provided by a hosting provider for a merchant; code that transforms page generation code received from the merchant from a first code format into a second code format; code that, in response to receiving a request for a network page from a client, executes the page generation code to generate the network page in response to the request, wherein the network page is associated with a network site hosted by the hosting provider on behalf of the merchant, the code that executes is configured to facilitate access by the page generation code to the electronic commerce data as a plurality of predefined variables, the page generation code is restricted from accessing the data sources directly, and the page generation code is configured to use a subset of the predefined variables; code that terminates execution of the page generation code responsive to detecting that the page generation code attempts to access the data sources directly; and and code that sends the network page to the client in response to the request.