Reactive Extension

aka. RX

What is RX

  • A brief history of RX
  • Collection based query
  • Linq
  • Pull vs Push
  • Time based/Real-Time
  • Rx

A Brief History

  • Generic Collection-Based Query
  • SQL
  • LINQ
  • Functional Reusable Actions
  • Linq Extension Methods 

What's missing?

  • Query Real-time Sequence
  • User Interaction
  • Time-based Sequence

RX

  • Data exists while quering
  • Usually a finite sequence
  • Pull

Linq vs Rx

  • React to incoming data
  • Usually a theoretical infinite sequence
  • Push

RX is a family

  • RX.net
  • RXJS
  • ...

RX is a pattern

  • Node.js
  • Rx
  • Almost all the UI framework

The Power of RX

Batch with time or count

Filter and parse user input

Filter Transducting incoming messages

Made with Slides.com