Angular 2: Difference between revisions

Jump to navigation Jump to search
329 bytes added ,  14 April 2016
Line 3: Line 3:
=== Observables (aka Reactive Programming) ===
=== Observables (aka Reactive Programming) ===


...
* Promises emit single values, and streams emit multiple values
** callbacks -> promises
* code subscribes to be notified of changes and streams "push" data to these subscribers
* RxJS is functional -- functional operators are applied like for arrays
* streams are composable -- they are like a pipeline of operations over your data


=== Ways to get data into the application ===
=== Ways to get data into the application ===

Navigation menu