Intro to RxJS
Functional Reactive Programing for JavaScript
Alan K Fadliawan
Frontend @ 2359media
Twitter: @fadliawan
GitHub: github.com/fadliawan
Disclaimer
Motivation
Intro to RxJS
Intro to RxJS
Intro to RxJS
https://github.com/Reactive-Extensions/RxJS
Reactive Programming
A = B + C
E = A + D
Wikipedia:
Functional Reactive Programming
Programming with asynchronous data streams.
Data sequences can take many forms, such as a stream of data from a file or
web service, web services requests, system notifications, or a series of
events such as user input.
RxMarbles
Demo #1
https://github.com/fadliawan/rx-jakartajs
Demo #2
https://github.com/fadliawan/rx-jakartajs
Why???
Cleaner + maintainable
Forcing functional programming practices
Asynchronous error handling
Other libraries
Bacon.js: https://baconjs.github.io
Node.js: http://highlandjs.org
Thank you!
Resources
This slide: http://bit.ly/1W4J6j8
ReactiveX: http://reactivex.io
RxJS GH: https://github.com/Reactive-Extensions/RxJS
Rx book: http://xgrommx.github.io/rx-book/
RxMarbles: http://rxmarbles.com
Intro to Functional Reactive Programing:
https://gist.github.com/staltz/868e7e9bc2a7b8c1f754
Intro to RxJS

Intro to RxJS