Modular asynchronous web programming: Advantages & challenges

Wiliam Rocha, Hiroaki Fukuda, Paul Leger

Research output: Contribution to journalConference articlepeer-review


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 dificult 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 propos-Als 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.


  • Aspect-oriented programming
  • Asynchronous programming

ASJC Scopus subject areas

  • Artificial Intelligence
  • Computer Networks and Communications
  • Hardware and Architecture
  • Software
  • Neuroscience (miscellaneous)


Dive into the research topics of 'Modular asynchronous web programming: Advantages & challenges'. Together they form a unique fingerprint.

Cite this