~/talk

Angular2 Data Flow

Talkat Øredev 2015 · 2015-11-03..11-06· [angular, frontend-architecture]
links:none on file
slides:none on file

Claim: Angular2 moves core data flow to observables so forms, HTTP and websockets emit streams that are debounced, mapped and combined with Rx operators. It uses RxJS (Rx Next) plus Angular2 pipes and the async pipe unwraps observables in templates. The demo builds an investment manager with a typeahead and streaming D3 graphs where switchMap cancels previous requests and unsubscribe closes sockets. Metric: the reactive typeahead replaces many lines of timeout/request bookkeeping with about 26 lines and the live demo reconnects and works.

AI-written summary · about

  1. 0:00Start
  2. 1:16Observable: Like a Promise of Many Values
  3. 2:40Observable - like an array, but async
  4. 3:24Observable Combinators
  5. 4:05Observable Subscription
  6. 7:54Typeahead - Search for Ticker Symbols
  7. 9:13Typeahead Classical Style - Throttle / Debounce
  8. 9:42Typeahead Classical Style - Response Order
  9. 10:48Inefficiency
  10. 12:32Angular 2 Forms: Control valueChanges
  11. 12:54Throttling
  12. 13:50Ticker Searcher
  13. 15:18a: Make Request
  14. 16:08Event Flow Step 3: FlatMap Request
  15. 17:11Event Flow Step 3: SwitchMap Request
  16. 18:16Bind to View
  17. 19:01Pipes - like Angular 1.x Filters
  18. 19:19Async Pipes
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.