Abstract
Developing mobile applications which communicate over multiple networking technology is a difficult task. First, de- velopers usually have to maintain a different version of the application for each mobile platform they target. Recent trends in mobile cross-platform solutions may alleviate this issue. However, developers still need to program a variation of the application for each different network interface. In ad- dition, the APIs for communicating over ad-hoc network- ing technologies (eg. wifi direct), are very different from the cloud APIs. Finally, developers need to write highly asyn- chronous code for communication. This is often written with callbacks which invert the control flow of the application leading to code which is hard to debug and maintain. This paper introduces Connect.js, a JavaScript library for writing multi-networked cross-platform mobile applications. Appli- cations consists of distributed objects which communicate with one another by means of asynchronous messages via a special kind of reference which is transparent for the un- derlying network technology used. Connect.js also provides dedicated language constructs for structuring asynchronous code by means of future combinators.
Original language | English |
---|---|
Title of host publication | 5th International Workshop on Programming based on Actors, Agents, and Decentralized Control (AGERE 2015) |
Publication status | Published - 2015 |
Event | SPLASH 2015 - Pittsburgh, United States Duration: 23 Oct 2014 → 30 Oct 2014 |
Conference
Conference | SPLASH 2015 |
---|---|
Country/Territory | United States |
City | Pittsburgh |
Period | 23/10/14 → 30/10/14 |
Keywords
- distributed programming
- mobile cross-platform
- javascript