Submission date: 2019-05-27
 Publication date: 2020-02-17
 DOI: https://doi.org/10.22152/programming-journal.org/2020/4/6
 Full text: PDF Developin

Gavial: Programming the web with multi-tier FRP

submited by
Style Pass
2021-07-20 08:00:05

Submission date: 2019-05-27 Publication date: 2020-02-17 DOI: https://doi.org/10.22152/programming-journal.org/2020/4/6 Full text: PDF

Developing web applications requires dealing with their distributed nature and the natural asynchronicity of user input and network communication.

For facilitating this, different researchers have explored the combination of a multi-tier programming language and functional reactive programming.

However, existing proposals take this approach only part of the way (some parts of the application remain imperative) or remain naive, with no regard for avoiding glitches across network communication, network traffic overhead, compatibility with common APIs like XMLHttpRequest etc.

In this paper, we present Gavial: the first mature design and implementation of multi-tier FRP that allows constructing an entire web application as a functionally reactive program.

By applying a number of new ideas, we demonstrate that multi-tier FRP can in fact deal realistically with important practical aspects of building web applications.

Leave a Comment