• Home
  • Search
  • Generating reactive programs for graphical user interfaces from multi-way dataflow constraint systems
  • Cite Icon6
  • https://doi.org/10.1145/2814204.2814207Copy DOI Icon

Generating reactive programs for graphical user interfaces from multi-way dataflow constraint systems

  • Oct 26, 2015
  • Gabriel Foust +2 more
Show More
  • Abstract
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

For a GUI to remain responsive, it must be able to schedule lengthy tasks to be executed asynchronously. In the traditional approach to GUI implementation--writing functions to handle individual user events--asynchronous programming easily leads to defects. Ensuring that all data dependencies are respected is difficult when new events arrive while prior events are still being handled. Reactive programming techniques, gaining popularity in GUI programming, help since they make data dependencies explicit and enforce them automatically as variables' values change. However, data dependencies in GUIs usually change along with its state. Reactive programming must therefore describe a GUI as a collection of many reactive programs, whose interaction the programmer must explicitly coordinate. This paper presents a declarative approach for GUI programming that relieves the programmer from coordinating asynchronous computations. The approach is based on our prior work on models, where GUI state is maintained by a dataflow constraint system. A property model responds to user events by atomically constructing new data dependencies and scheduling asynchronous computations to enforce those dependencies. In essence, a property model dynamically generates a reactive program, adding to it as new events occur. The approach gives the following guarantee: the same sequence of events produces the same results, regardless of the timing of those events.

Similar Papers
  • Conference Article
  • Citations9

Automated Refactoring to Reactive Programming

  • Nov 01, 2019
  • Mirko Kohler +1
  • Research Article
  • Citations153

Plasma advanced glycation end products are associated with incident cardiovascular events in individuals with type 2 diabetes: a case-cohort study with a median follow-up of 10 years (EPIC-NL).

  • May 21, 2014
  • Diabetes
  • Nordin M.J Hanssen +8
  • Book Chapter
  • Citations2

Detecting value-based scalar dependence

  • Jan 01, 1995
  • Eric Stoltz +1
  • Book Chapter
  • Citations17

Non-intrusive Repair of Safety and Liveness Violations in Reactive Programs

  • Jan 01, 2014
  • David Harel +3
  • Conference Article
  • Citations10

RDMS: A hardware task scheduling algorithm for Reconfigurable Computing

  • May 01, 2009
  • Miaoqing Huang +3
  • Book Chapter
  • Citations1

Java Reactive Development

  • Jan 01, 2019
  • Raj Malhotra
  • Conference Article
  • Citations10

Towards dynamic backward slicing of model transformations

  • Nov 01, 2011
  • Zoltan Ujhelyi +2
  • Book Chapter

Reactive, Asynchronous, and Parallel Programming

  • Jan 01, 2010
  • Don Syme +2
  • Conference Article
  • Citations8

Verification of Event-Driven Process Chain with Timed Automata and Time Petri Nets

  • May 01, 2017
  • Anam Amjad +3
  • Conference Article
  • Citations1

Controlling chaos

  • Jan 20, 2009
  • Stephan Herhut +2
  • Conference Article
  • Citations4

HotDrink

  • Sep 26, 2012
  • John Freeman +2
  • Preprint Article

Efficient and realistic modelling of individual runoff events in ecohydrological systems 

  • Mar 18, 2025
  • Karl Kästner +1
  • Conference Article
  • Citations8

Eigenvector Computation and Community Detection in Asynchronous Gossip Models

  • Jul 01, 2018
  • DROPS (Schloss Dagstuhl – Leibniz Center for Informatics)
  • Frederik Mallmann-Trenn +2
  • Research Article
  • Citations9

An event-driven plan recognition algorithm based on intuitionistic fuzzy theory

  • Oct 19, 2018
  • The Journal of Supercomputing
  • Xiaofan Wang +3
  • Book Chapter
  • Citations1

Nested Parallelism with Algorithmic Skeletons

  • Jan 01, 2019
  • Alireza Majidi +4
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.