Enabling the Automation of Handler Bindings in Event-Driven Programming

Yungyu Zhuang, Shigeru Chiba

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

3 Scopus citations

Abstract

In event-driven programming we can react to an event by binding methods to it as handlers, but such a handler binding in current event systems is explicit and requires explicit reason about the graph of event propagation even for straightforward cases. On the other hand, the handler binding in reactive programming is implicit and constructed through signals. Recent approaches to support either event-driven programming or reactive programming show the need of using both the two styles in a program. We propose an extension to expand event systems to support reactive programming by enabling the automation of handler bindings. With such an extension programmers can use events to cover both the implicit style in reactive programming and the explicit style in event-driven programming. We first describe the essentials of reactive programming, signals and signal assignments, in terms of events, handlers, and bindings, then point out the lack of automation in existing event systems. Unlike most research activities we expand event systems to support signals rather than port signals to event systems. In this paper we also show a prototype implementation and translation examples to evaluate the concept of automation.

Original languageEnglish
Title of host publicationProceedings - 2015 IEEE 39th Annual Computer Software and Applications Conference, COMPSAC 2015
EditorsGang Huang, Jingwei Yang, Sheikh Iqbal Ahamed, Pao-Ann Hsiung, Carl K. Chang, William Chu, Ivica Crnkovic
PublisherIEEE Computer Society
Pages137-146
Number of pages10
ISBN (Electronic)9781467365635
DOIs
StatePublished - 21 Sep 2015
Event39th IEEE Annual Computer Software and Applications Conference, COMPSAC 2015 - Taichung, Taiwan
Duration: 1 Jul 20155 Jul 2015

Publication series

NameProceedings - International Computer Software and Applications Conference
Volume2
ISSN (Print)0730-3157

Conference

Conference39th IEEE Annual Computer Software and Applications Conference, COMPSAC 2015
Country/TerritoryTaiwan
CityTaichung
Period1/07/155/07/15

Keywords

  • Behavior
  • Event-driven programming
  • Reactive programming
  • Signal

Fingerprint

Dive into the research topics of 'Enabling the Automation of Handler Bindings in Event-Driven Programming'. Together they form a unique fingerprint.

Cite this