Enabling the Automation of Handler Bindings in Event-Driven Programming

Yungyu Zhuang, Shigeru Chiba

研究成果: 書貢獻/報告類型會議論文篇章同行評審

2 引文 斯高帕斯(Scopus)

摘要

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.

原文???core.languages.en_GB???
主出版物標題Proceedings - 2015 IEEE 39th Annual Computer Software and Applications Conference, COMPSAC 2015
編輯Gang Huang, Jingwei Yang, Sheikh Iqbal Ahamed, Pao-Ann Hsiung, Carl K. Chang, William Chu, Ivica Crnkovic
發行者IEEE Computer Society
頁面137-146
頁數10
ISBN(電子)9781467365635
DOIs
出版狀態已出版 - 21 9月 2015
事件39th IEEE Annual Computer Software and Applications Conference, COMPSAC 2015 - Taichung, Taiwan
持續時間: 1 7月 20155 7月 2015

出版系列

名字Proceedings - International Computer Software and Applications Conference
2
ISSN(列印)0730-3157

???event.eventtypes.event.conference???

???event.eventtypes.event.conference???39th IEEE Annual Computer Software and Applications Conference, COMPSAC 2015
國家/地區Taiwan
城市Taichung
期間1/07/155/07/15

指紋

深入研究「Enabling the Automation of Handler Bindings in Event-Driven Programming」主題。共同形成了獨特的指紋。

引用此