Experience Report

Bob Reynders, Dominique Devriese, Frank Piessens
2017 Proceedings of the International Conference on the Art, Science, and Engineering of Programming - Programming '17  
Web applications are inherently event-driven and traditionally implemented using imperative callbacks in Javascript. An alternative approach for such programs is functional reactive programming (FRP). FRP offers abstractions to make event-driven programming convenient, safe and composable, but like pure functions it is isolated from the 'outside' world. In this paper we describe our experience in developing a library that binds FRP to the document object model (DOM). We describe that in its
more » ... ibe that in its current state there are fundamental issues that do not yet have a perfect solution. We expand upon the functionality of existing FRP DOM libraries with an FRP model for DOM properties. We show that despite of some design problems a pragmatic library can be created that can be used to create web applications.
doi:10.1145/3079368.3079405 dblp:conf/programming/ReyndersDP17 fatcat:yeevgriefjdj7f4ifdyu44ql74