Declarative Events for Object-Oriented Programming

Vaidas Gasiūnas 1 Lucas Satabin 1 Mira Mezini 1 Angel Núñez 2, 3 Jacques Noyé 2, 3
2 ASCOLA - Aspect and composition languages
LINA - Laboratoire d'Informatique de Nantes Atlantique, Département informatique - EMN, Inria Rennes – Bretagne Atlantique
Abstract : In object-oriented designs inversion of control is achieved by an event-driven programming style based on imperatively triggered events. An alternative approach can be found in aspect-oriented programming, which defines events as declarative queries over implicitly available events. This helps to localize definition of events and avoid preplanning, but lacks a clean integration with object-oriented features and principles. The contribution of this work is a concept of object-oriented events that combines imperative, declarative and implicit events and provides their seamless integration with object-oriented features, preserving encapsulation and modular reasoning. We present an efficient and type-safe implementation of the concept as an extension to the Scala language.
Complete list of metadatas

Cited literature [5 references]  Display  Hide  Download

https://hal.inria.fr/inria-00494645
Contributor : Noyé Jacques <>
Submitted on : Wednesday, June 23, 2010 - 11:35:37 PM
Last modification on : Friday, June 22, 2018 - 9:28:01 AM
Long-term archiving on : Monday, October 22, 2012 - 2:41:16 PM

File

RR-7313.pdf
Files produced by the author(s)

Identifiers

  • HAL Id : inria-00494645, version 1

Citation

Vaidas Gasiūnas, Lucas Satabin, Mira Mezini, Angel Núñez, Jacques Noyé. Declarative Events for Object-Oriented Programming. [Research Report] RR-7313, INRIA. 2010, pp.38. ⟨inria-00494645⟩

Share

Metrics

Record views

987

Files downloads

263