首页> 外文期刊>Higher-order and symbolic computation >A multi-tier semantics for Hop
【24h】

A multi-tier semantics for Hop

机译:Hop的多层语义

获取原文
获取原文并翻译 | 示例
           

摘要

Hop is a multi-tier programming language where the behavior of interacting servers and clients are expressed by a single program. Hop adheres to the standard web programming style where servers elaborate HTML pages containing JavaScript code. This JavaScript code responds locally to user's interactions but also (following the so-called Ajax style) requests services from remote servers. These services bring back new HTML fragments containing additional JavaScript code replacing or modifying the state of the client. This paper presents a continuation-based denotational semantics for a sequential subset of Hop. Though restricted to a single server and a single client, this semantics takes into account the key feature of Hop namely that the server elaborates client code to be run in the client's browser. This new client-code dynamically requests services from the server which, again, elaborate new client code to be run in the client's browser. This semantics details the programming model advocated by Hop and provides a sound basis for future studies such as security of web applications and web continuations.
机译:Hop是一种多层编程语言,其中交互服务器和客户端的行为由单个程序表示。 Hop遵循标准的Web编程风格,其中服务器精心制作包含JavaScript代码的HTML页面。该JavaScript代码在本地响应用户的交互,而且(遵循所谓的Ajax风格)向远程服务器请求服务。这些服务带回了包含替代或修改客户端状态的其他JavaScript代码的新HTML片段。本文为Hop的连续子集提供了基于连续性的指称语义。尽管仅限于单个服务器和单个客户端,但这种语义考虑了Hop的关键特征,即服务器精心设计了要在客户端浏览器中运行的客户端代码。这个新的客户端代码动态地向服务器请求服务,服务器再次详细说明了要在客户端浏览器中运行的新客户端代码。这种语义详细描述了Hop提倡的编程模型,并为将来的研究(例如Web应用程序的安全性和Web连续性)提供了良好的基础。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号