Repository logo

Infoscience

  • English
  • French
Log In
Logo EPFL, École polytechnique fédérale de Lausanne

Infoscience

  • English
  • French
Log In
  1. Home
  2. Academic and Research Output
  3. Reports, Documentation, and Standards
  4. Deprecating the Observer Pattern
 
report

Deprecating the Observer Pattern

Maier, Ingo  
•
Rompf, Tiark  
•
Odersky, Martin  
2010

Programming interactive systems by means of the observer pattern is hard and error-prone yet is still the implementation standard in many production environments. We present an approach to gradually deprecate observers in favor of reactive programming abstractions. Several library layers help programmers to smoothly migrate existing code from callbacks to a more declarative programming model. Our central high-level API layer embeds an extensible higher-order data-flow DSL into our host language. This embedding is enabled by a continuation passing style transformation.

  • Files
  • Details
  • Metrics
Type
report
Author(s)
Maier, Ingo  
Rompf, Tiark  
Odersky, Martin  
Date Issued

2010

Total of pages

18

Subjects

data-flow language

•

reactive programming

•

user interface programming

•

Scala

Written at

EPFL

EPFL units
LAMP1  
Available on Infoscience
April 1, 2010
Use this identifier to reference this record
https://infoscience.epfl.ch/handle/20.500.14299/49107
Logo EPFL, École polytechnique fédérale de Lausanne
  • Contact
  • infoscience@epfl.ch

  • Follow us on Facebook
  • Follow us on Instagram
  • Follow us on LinkedIn
  • Follow us on X
  • Follow us on Youtube
AccessibilityLegal noticePrivacy policyCookie settingsEnd User AgreementGet helpFeedback

Infoscience is a service managed and provided by the Library and IT Services of EPFL. © EPFL, tous droits réservés