发明名称 Data contracts for network page generation code
摘要 Disclosed are various embodiments for using data contracts in connection with network page generation code. A network page request is obtained from a client. Data is aggregated from multiple data sources in response to the request, and data is marshalled based at least in part on a data contract. Page generation code is executed to generate at least a portion of the network page in response to the request. The aggregated data is provided to the page generation code as one or more predefined variables. Access to the predefined variables by the page generation code complies with the data contract.
申请公布号 US8862984(B1) 申请公布日期 2014.10.14
申请号 US201213363787 申请日期 2012.02.01
申请人 Amazon Technologies, Inc. 发明人 Thakare Prashant J.;Huntwork Andrew S.;Boynes Jeremy;Garg Pravi;Shekhar Shashank
分类号 G06F17/27 主分类号 G06F17/27
代理机构 Thomas | Horstemeyer, LLP 代理人 Thomas | Horstemeyer, LLP
主权项 1. 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, in response to receiving a request for a network page from a client, aggregates data from a plurality of data sources in response to the request, wherein the data complies with a data contract;logic that marshals or unmarshals the data based at least in part on the data contract; andlogic that executes page generation code to generate at least a portion of the network page in response to the request, the page generation code being restricted from directly accessing the plurality of data sources, wherein the data is provided to the page generation code as at least one predefined variable, the data contract defines a corresponding data type for individual ones of the at least one predefined variable, the page generation code comprises a non-manifestly typed language, and access to the at least one predefined variable by the page generation code complies with the data contract.
地址 Reno NV US