Overview
Explore the world of asynchronous programming in this 33-minute conference talk from WeAreDevelopers Conference 2017. Dive into Rxjs as a superior alternative to callbacks and promises for handling async operations. Learn how Rxjs elegantly combines various async elements like ajax, callbacks, and events. Discover the concept of observables, understand subscription and unsubscription, and explore powerful operators like flatMap. Examine practical applications including AJAX handling, caching, and streaming. Compare Rxjs with traditional promises, addressing error handling and dependencies. Gain insights into testing strategies, including marble testing for reactive programming. By the end of this talk, acquire a comprehensive understanding of Rxjs and its potential to revolutionize your approach to asynchronous programming.
Syllabus
Introduction
Guest Data
Whats better
Why Rxjs
Rxjs and observables
What is an observable
SUBSCRIBE
Intermix arrays
Observable
Subscribing
Unsubscribe
Factory functions
Operators
Data
Marble Diagram
FlatMap
AJAX
Caching
Streaming
Promise
Dependencies
Promises
Errors
Three approaches
Base case
Catch operator
Ignoring the error
Retry
Delay
Testing
Testing is painful
Continuous integration
Test suite
Marble testing
Explanation
Code
Act
Assertion State
Summary
Further Reading
Questions
Taught by
WeAreDevelopers