Asynchronous programming has always been difficult for JavaScript developers, even today. As applications become richer and have more bells and whistles than ever before, our ability to react to a user's clicks, gestures, scrolling, key presses, as well as reacting to remote data mashed up from different places is becoming unwieldy. To top it all off, we’re still dealing with a JavaScript event system that hasn’t seen much update in a long time.

The Reactive Extensions for JavaScript (RxJS) tackles this problem head on. RxJS is a combination of the design patterns (like Observer and Iterator), and principles from functional programming to provide a state of the art computing model to write asynchronous code easier. In this tutorial, attendees will learn about the Observable data type, which can be used to abstract out the notion of latency and time from remote HTTP calls as well as eliminate the use of the dreaded callback approach to event handling. RxJS makes events first-class citizens of the language and extends it with: error handling, retry logic, cancelation and disposal, testability, composition, and much more. This technology has proven to be so successful, there’s a formal specification to include Observables natively in JavaScript ES7.

Comments

Comments are closed.

Liviu Ifrim at 17:32 on 4 Feb 2017

Thanks for the tutorial, it was interesting.

Justin Oakley at 14:50 on 9 Feb 2017

Despite the technical issues that were the fault of the venue, the tutorial was informative and flowed really well. The speaker answered all questions in a very professional manner and had many good ideas.