Research Article
Modular Asynchronous Web Programming: Advantages & Challenges
@ARTICLE{10.4108/eai.3-12-2015.2262472, author={Wiliam Rocha and Hiroaki Fukuda and Paul Leger}, title={Modular Asynchronous Web Programming: Advantages \& Challenges}, journal={EAI Endorsed Transactions on Collaborative Computing}, volume={2}, number={8}, publisher={ACM}, journal_a={CC}, year={2016}, month={5}, keywords={asynchronous programming, aspect-oriented programming}, doi={10.4108/eai.3-12-2015.2262472} }
- Wiliam Rocha
Hiroaki Fukuda
Paul Leger
Year: 2016
Modular Asynchronous Web Programming: Advantages & Challenges
CC
EAI
DOI: 10.4108/eai.3-12-2015.2262472
Abstract
Because of the success of the Internet technologies, traditional standalone applications like Spreadsheet and Drawing are now provided as Web Applications. These adopt asynchronous programming that provides high responsive user interactions. At the same time these applications can grow and make their maintenance harder, turning Modular Programming an attractive practice because of its concept of dividing concerns in separated modules. However, it’s difficult to combine asynchronous methods and modular programming because the first requires uncoupling a module into two sub-modules, which are non-intuitively connected by a callback method. It can spawn the creation of other two issues: callback spaghetti and callback hell. Some proposals have been developed to reduce the issues about modular programming. In this paper, we compare and evaluate them applying them to a non-trivial open source application, the FlickrSphere. Then, we will discuss our experience.
Copyright © 2015 H. Fukuda et al., licensed to EAI. This is an open access article distributed under the terms of the Creative Commons Attribution licence (http://creativecommons.org/licenses/by/3.0/), which permits unlimited use, distribution and reproduction in any medium so long as the original work is properly cited.