גרא וייס

אקדמי בכיר

A decentralized approach for programming interactive applications with javascript and blockly

Assaf Marron, Gera Weiss, Guy Wiener

We present a decentralized-control methodology and a toolset for developing interactive user interfaces. We focus on the common case of developing the client side of Web applications. Our approach is to combine visual programming using Google Blockly with a single-threaded implementation of behavioral programming in JavaScript.We show how the behavioral programming principles can be implemented with minimal programming resources, i.e., with a singlethreaded environment using coroutines. We give initial, yet full, examples of how behavioral programming is instrumental in addressing common issues in this application domain, e.g., that it facilitates separation of graphical representation from logic and handling of complex inter-object scenarios. The implementation in JavaScript and Blockly (separately and together) expands the availability of behavioral programming capabilities, previously implemented in LSC, Java, Erlang and C++, to audiences with different skill-sets and design approaches.

שפת פרסום אנגלית
דפים 59-69
סטטוס פרסום פורסם - 01.12.2012

Keywords

Behavioral programming
Browser
Client-side
Coroutines
Google blockly
HTML 5
Javascript
Visual programming
Web application

ASJC Scopus subject areas

Computer Science Applications
Modeling and Simulation
גישה למסמך
10.1145/2414639.2414648
קבצים וקישורים אחרים
Link to publication in Scopus