Reactive Single-Page Applications with Dynamic Dataflow

Conference paper

DOI: 10.1007/978-3-319-19686-2_5

Part of the Lecture Notes in Computer Science book series (LNCS, volume 9131)
Cite this paper as:
Fowler S., Denuzière L., Granicz A. (2015) Reactive Single-Page Applications with Dynamic Dataflow. In: Pontelli E., Son T. (eds) Practical Aspects of Declarative Languages. PADL 2015. Lecture Notes in Computer Science, vol 9131. Springer, Cham

Abstract

Modern web applications are heavily dynamic. Several approaches, including functional reactive programming and data binding, allow a presentation layer to automatically reflect changes in a data layer. However, many of these techniques are prone to unpredictable memory performance, do not make guarantees about node identity, or cannot easily express dynamism in the dataflow graph.

We identify a point in the design space for the creation of statically-typed, reactive, dynamic, single-page web applications for the WebSharper framework in the functional-first language F#. We provide an embedding abstraction to link a dynamic dataflow graph to a DOM presentation layer in order to implement dynamic single-page applications, and show how the technique can be used to support declarative animation.

Keywords

Functional programming Reactive web applications F# 

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© Springer International Publishing Switzerland 2015

Authors and Affiliations

  1. 1.University of EdinburghEdinburghScotland
  2. 2.IntelliFactoryBudapestHungary

Personalised recommendations