Tierless web programming in ML
Tierless web programming in ML
复制标题
ML 中的无分层 Web 编程
DOI:
--
复制
发表时间:
2017
期刊:
影响因子:
--
通讯作者:
Gabriel Radanne
中科院分区:
文献类型:
--
作者:
Gabriel Radanne
Eliom is a dialect of OCaml for Web programming in which server and client pieces of code can be mixed in the same file using syntactic annotations. This allows to build a whole application as a single distributed program, in which it is possible to define in a composable way reusable widgets with both server and client behaviors. Eliom is type-safe, as it ensures that communications are well-behaved through novel language constructs that match the specificity of Web programming. Eliom is also efficient, it provides static slicing which separates client and server parts at compile time and avoids back-and-forth communications between the client and the server. Finally, Eliom supports modularity and encapsulation thanks to an extension of the OCaml module system featuring tierless annotations that specify whether some definitions should be on the server, on the client, or both. This thesis presents the design, the formalization and the implementation of the Eliom language.