Abstract:
Disclosed are various embodiments relating to generating portions of network pages associated with a network site, where the portions of the network pages are generated by page generation code that uses a subset of aggregated data provided to it. A request for a network page is received from a first party. Data is aggregated from one or more data sources in response to the request. Each data source provides multiple data items using a multipart encoding. Page generation code supplied by the first party is executed to generate at least a portion of the network page in response to receiving a subset of the data which is used by the page generation code. The page generation code is able to access the subset of the data as predefined variables.
Abstract:
Techniques for driving higher quality of code may be provided. For example, code may be received for hosting on a computing resource. A computing service may be implemented to analyze the code prior to the hosting. The analysis may include assessing components of the code against criteria associated with code performance. Based on the analysis, the computing service may determine a quality of the code, provide recommended changes to the code that may improve the quality, and identify a proper computing resource for hosting the code at the quality.
Abstract:
Disclosed are various embodiments for securing execution of page generation code. The page generation code may be instrumented with code that facilitates monitoring of one or more resources consumed by the page generation code. Various checks relating, for example, to code size and whether exception-handling code is present may be performed. The page generation code may be executed to generate a network page in response to a request obtained from a client. One or more resource consumption limits may be enforced upon the page generation code.
Abstract:
Template-driven data access is enabled. A collection of data model component identifiers that are accessible for use by view developers may be established. View developers may specify views of the data model with a view description language and may utilize accessible data model component identifiers to reference data model components that may be rendered in the views. The views may be in accordance with a Model-View-Controller (MVC) architecture. In contrast to a conventional MVC architecture, changes to a view do not require changes to a corresponding controller. For example, view developers may create, update, modify and delete views independent of the activity of controller developers. In accordance with at least one embodiment, there is a universal controller for views specified with the view specification language and/or utilizing the predefined collection of accessible data model component identifiers.
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.
Abstract:
Techniques for driving higher quality of code may be provided. For example, code may be received for hosting on a computing resource. A computing service may be implemented to analyze the code prior to the hosting. The analysis may include assessing components of the code against criteria associated with code performance. Based on the analysis, the computing service may determine a quality of the code, provide recommended changes to the code that may improve the quality, and identify a proper computing resource for hosting the code at the quality.
Abstract:
Disclosed are various embodiments that facilitate error handling in a network resource generation environment. A request for a network resource is obtained from a client. The network resource is associated with a network site hosted on behalf of a first party by a second party. Resource generation code supplied by the first party is executed by a framework in response to the request. A customized error network resource is sent to the client in response to determining that an error has occurred in the framework that executes the resource generation code.