Modular and Flexible Causality Control on the Web - LINA - Langages d'Aspects et de Composants Accéder directement au contenu
Rapport (Rapport De Recherche) Année : 2011

Modular and Flexible Causality Control on the Web

Éric Tanter
Rémi Douence
  • Fonction : Auteur
  • PersonId : 962353

Résumé

Ajax has allowed JavaScript programmers to create interactive, collaborative, and user-centered Web applications, known as Web 2.0 Applications. These Web applications behave as distributed systems because processors are user machines that are used to send and receive messages between one another. Unsurprisingly, these applications have to address the same causality issues present in distributed systems like the need a) to control the causality between messages sent and responses received and b) to react to distributed causal relations. JavaScript programmers overcome these issues using rudimentary and alternative techniques that largely ignore the distributed computing theory. In addition, these techniques are not very flexible and need to intrusively modify these Web applications. In this paper, we study how causality issues affect these applications and present WeCa, a practical library that allows for modular and flexible control over these causality issues in Web applications. In contrast to current proposals, WeCa is based on (stateful) aspects, message ordering strategies, and vector clocks. We illustrate WeCa in action with several practical examples from the realm of Web applications. For instance, we analyze the flow of information in Web applications like Twitter using WeCa.
Fichier principal
Vignette du fichier
RR-7742.pdf (1.02 Mo) Télécharger le fichier
Origine : Fichiers produits par l'(les) auteur(s)
Loading...

Dates et versions

inria-00626363 , version 1 (26-09-2011)
inria-00626363 , version 2 (04-10-2011)

Identifiants

  • HAL Id : inria-00626363 , version 2

Citer

Paul Leger, Éric Tanter, Rémi Douence. Modular and Flexible Causality Control on the Web. [Research Report] RR-7742, INRIA. 2011. ⟨inria-00626363v2⟩
559 Consultations
447 Téléchargements

Partager

Gmail Facebook X LinkedIn More