Modular Asynchronous Web Programming: Advantages & Challenges

Journal Title: EAI Endorsed Transactions on Collaborative Computing - Year 2016, Vol 2, Issue 8

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.

Authors and Affiliations

Wiliam Rocha, Hiroaki Fukuda, Paul Leger

Keywords

Related Articles

A Game Theoretic Approach for Modeling Privacy Settings of an Online Social Network

Users of online social networks often adjust their privacy settings to control how much information on their profiles is accessible to other users of the networks. While a variety of factors have been shown to affect the...

Reinforcement Learning with Internal Reward for Multi-Agent Cooperation: A Theoretical Approach

This paper focuses on a multi-agent cooperation which is generally difficult to be achieved without sufficient information of other agents, and proposes the reinforcement learning method that introduces an internal rewar...

Bio-Inspired Routing Protocol Based on Pheromone Diffusion in Mobile Ad Hoc Networks

Bio-inspired routing protocols use the principle of swarm intelligence, which finds the optimal path to the destination in a distributed and autonomous way in dynamically changing environments; therefore, they can maximi...

Emergency Response using Ephemeral Social Communities across Online Social Networks

In an emergency situation, receiving prompt and organized help from nearby people is of critical importance. The growing use of online social networks (OSNs) in emergency situations is a clear indication of the natural a...

A Framework for Performance Evaluation of Decentralized Eventual Consistency Algorithms

Eventual Consistency (EC) model is adopted by numerous large-scale distributed systems. To ensure performance and scalability, this model allows any replica to accept updates without remote synchronization. Nowadays, man...

Download PDF file
  • EP ID EP45717
  • DOI http://dx.doi.org/10.4108/eai.3-12-2015.2262472
  • Views 303
  • Downloads 0

How To Cite

Wiliam Rocha, Hiroaki Fukuda, Paul Leger (2016). Modular Asynchronous Web Programming: Advantages & Challenges. EAI Endorsed Transactions on Collaborative Computing, 2(8), -. https://europub.co.uk/articles/-A-45717