cc 16(8): e3

Research Article

Modular Asynchronous Web Programming: Advantages & Challenges

Download1908 downloads
  • @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},
        keywords={asynchronous programming, aspect-oriented programming},
  • Wiliam Rocha
    Hiroaki Fukuda
    Paul Leger
    Year: 2016
    Modular Asynchronous Web Programming: Advantages & Challenges
    DOI: 10.4108/eai.3-12-2015.2262472
Wiliam Rocha1, Hiroaki Fukuda1,*, Paul Leger2
  • 1: Shibaura Institute of Technology
  • 2: Universidad Catolica del Norte Chile
*Contact email:


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.