Upgrade to Pro — share decks privately, control downloads, hide ads and more …

RxJS (The Reactive Extensions for JavaScript ) Introduction

andre
October 21, 2014

RxJS (The Reactive Extensions for JavaScript ) Introduction

It's an internal sharing for RxJS.

There are many hyperlinks on the slide, you can download the pdf and click them to see the samples or references.

andre

October 21, 2014
Tweet

More Decks by andre

Other Decks in Programming

Transcript

  1. Problems time Req: He l l o Resp: resp(H) resp(He)

    resp(Hel) resp(Hell) resp(Hello) We Hope
  2. Problems time Req: He l l o Resp: resp(H) resp(He)

    resp(Hel) The Real World resp(Hello)
  3. Problems time Req: He l l o Resp: resp(H) resp(He)

    resp(Hel) The Real World resp(Hello) resp(Hell)
  4. FP is Avoiding Mutable State Recursion Higher-Order Functions Function Composition

    Lazy Evaluation Pattern Matching Functional Programming
  5. What is RxJS Developed by Microsoft Open Technologies, Inc. The

    Reactive Extensions for JavaScript Reactive Manifesto (Trad. Chinese Ver.) Responsive Resilient Elastic Message Driven i.e. RxJS wants to let your system to be Reactive System
  6. Why RxJS Promises are good for solving Asynchronous operations such

    as Querying a service with an XMLHttpRequest, Where the expected behavior is one value and then completion.
  7. Why RxJS (Cont’d) The Reactive Extensions for JavaScript Unifies both

    the world of Promises, callbacks as well as evented data such as DOM Input, Web Workers, Web Sockets. Once we have unified these concepts, this enables rich composition.