WebCamp:Front-end Developers Day. Александр Мостовенко "Rx.js - делаем асинхр...
Upload keynote to can view it.
1. RX
R e t h i n k i n g t h e w a y w e
d o s t u f f
2. RX
Rx is a library for composing asynchronous and event-based
programs using observable collections.
Rx has a strong theoretical basis by using the duality between the
classic Iterator and Observer design patterns to simplify controlling
asynchrony
19. In other words, x >>= k is a computation
which runs x, and then uses the result(s)
of x to decide what computation to run
second, using the output of the second
computation as the result of the entire
computation.
21. In the process we've discovered what Rx really is: a fancy way of writing event handlers,
specifically event handlers that fire events that trigger other event handlers that fire events, and so on in big
chain that looks like a query