גרא וייס

אקדמי בכיר

A use-case for behavioral programming

An architecture in JavaScript and Blockly for interactive applications with cross-cutting scenarios

Adiel Ashrov, Assaf Marron, Gera Weiss, Guy Wiener

We combine visual programming using Google Blockly with a single-threaded implementation of behavioral programming (BP) in JavaScript, and propose design patterns for developing reactive systems such as client-side Web applications and smartphone customization applications as collections of independent cross-cutting scenarios that are interwoven at run time. We show that BP principles can be instrumental in addressing common software engineering issues such as separation of graphical representation from logic and the handling of inter-object scenarios. We also show that a BP infrastructure can be implemented with limited run-time resources in a single-threaded environment using coroutines. In addition to expanding the availability of BP capabilities, we hope that this work will contribute to the evolving directions of technologies and design patterns in developing interactive applications.

שפת פרסום אנגלית
דפים 268-292
כתב עת Science of Computer Programming
כרך 98
נושא מספר P2
סטטוס פרסום פורסם - 01.02.2015

Keywords

Coroutines
HTML5
Smartphone
Visual programming
Web application

ASJC Scopus subject areas

Software
Information Systems
Modeling and Simulation
Computational Theory and Mathematics
גישה למסמך
10.1016/j.scico.2014.01.017
קבצים וקישורים אחרים
Link to publication in Scopus