Frameworks compiled from declarations: a language-independent approach - Archive ouverte HAL Accéder directement au contenu
Pré-Publication, Document De Travail Année : 2015

Frameworks compiled from declarations: a language-independent approach

Résumé

Programming frameworks are an accepted fixture in the object-oriented world, motivated by the need for code reuse, developer guidance, and restriction. A new trend is emerging where frameworks require domain-specific declarations, which influence the structure and behaviour of the resulting application, to address concerns such as user privacy. Although many popular open platforms such as Android are based on such frameworks, current implementations provide ad hoc and narrow solutions to concerns raised by their openness to non-certified developers. Most widely used frameworks fail to address serious privacy leaks, and provide the user with little insight into application behaviour. To address these shortcomings, we show that declaration-driven frameworks can limit privacy leaks, as well as guide developers, independently from the underlying programming paradigm. To do so, we identify concepts that underlie declaration-driven frameworks, and apply them systematically to both an object-oriented language, Java, and a dynamic functional language, Racket. The resulting programming framework generators are used to develop a prototype mobile application, illustrating how we mitigate a common class of privacy leaks. Finally, we explore the design choices and propose development principles for developing declaration-driven frameworks, applicable across a spectrum of programming paradigms.
Fichier principal
Vignette du fichier
progfw.main.pdf (294.14 Ko) Télécharger le fichier
Origine : Fichiers produits par l'(les) auteur(s)

Dates et versions

hal-01236352 , version 1 (01-12-2015)
hal-01236352 , version 2 (19-04-2016)

Licence

Paternité - Pas d'utilisation commerciale - Partage selon les Conditions Initiales

Identifiants

  • HAL Id : hal-01236352 , version 1

Citer

Paul van Der Walt, Charles Consel, Emilie Balland. Frameworks compiled from declarations: a language-independent approach. 2015. ⟨hal-01236352v1⟩
251 Consultations
497 Téléchargements

Partager

Gmail Facebook X LinkedIn More