Modular and Flexible Causality Control on the Web

Paul Leger 1 Éric Tanter 1 Rémi Douence 2
2 ASCOLA - Aspect and composition languages
LINA - Laboratoire d'Informatique de Nantes Atlantique, Département informatique - EMN, Inria Rennes – Bretagne Atlantique
Abstract : 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.
Type de document :
Rapport
[Research Report] RR-7742, INRIA. 2011
Liste complète des métadonnées

Littérature citée [28 références]  Voir  Masquer  Télécharger

https://hal.inria.fr/inria-00626363
Contributeur : Rémi Douence <>
Soumis le : mardi 4 octobre 2011 - 20:54:57
Dernière modification le : vendredi 22 juin 2018 - 09:35:12
Document(s) archivé(s) le : jeudi 30 mars 2017 - 16:26:14

Fichier

RR-7742.pdf
Fichiers produits par l'(les) auteur(s)

Identifiants

  • HAL Id : inria-00626363, version 2

Citation

Paul Leger, Éric Tanter, Rémi Douence. Modular and Flexible Causality Control on the Web. [Research Report] RR-7742, INRIA. 2011. 〈inria-00626363v2〉

Partager

Métriques

Consultations de la notice

508

Téléchargements de fichiers

242