Deprecating the Observer Pattern

Download Now Date Added: Apr 2010
Format: PDF

Programming interactive systems by means of the observer pattern is hard and error-prone yet is still the implementation standard in many production environments. The authors 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. Their central high-level API layer embeds an extensible higher-order data-flow DSL into their host language. This embedding is enabled by a continuation passing style transformation.