Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
LIGHTNING TALK    SFJS 2012
Lightning is a giant discharge of electricity   The spark can reach over five miles in length, raise the    temperature of ...
BETRAY HUMANITY WITH FUNCTIONAL REACTIVE    PROGRAMMING
RIDICULOUSLY BRIEF HISTORY            Conal Elliott & Paul Hudak write Fran  A bunch of libraries are made (Reactive Banan...
SO... WHAT IS IT?
Declarative      Stateless   AsynchronousExplicit event streams   Compositional    Explicit time  Identity over timeData fl...
Behavior & Event
Behavior & Event
Observable             Enumerable
Enumerable / PullObservable / Push
mapreduce filtergroupByconcat  zip take drop
merge  delay  skip throttle switchskipWhilecombinetakeUntil
Not reactive  Reactive
Not reactive  Reactive
Subscribe
No subscribe
No subscribe
EXAMPLE!
email: brian@looprecur.comtwitter: @drbooleanblog: drboolean.tumblr.comgithub: drbooleanfrp libraries:https://github.com/r...
Functional Reactive Programming in Javascript
Functional Reactive Programming in Javascript
Functional Reactive Programming in Javascript
Functional Reactive Programming in Javascript
Functional Reactive Programming in Javascript
Functional Reactive Programming in Javascript
Functional Reactive Programming in Javascript
Functional Reactive Programming in Javascript
Upcoming SlideShare
Loading in …5
×

Functional Reactive Programming in Javascript

8,814 views

Published on

Lightning talk version of FRP in JS - skips behaviors and focuses on Events

Published in: Technology
  • Be the first to comment

Functional Reactive Programming in Javascript

  1. 1. LIGHTNING TALK SFJS 2012
  2. 2. Lightning is a giant discharge of electricity The spark can reach over five miles in length, raise the temperature of the air by as much as 50,000 degrees Fahrenheit and contain a hundred million electrical voltsIt is estimated that Earth as a whole is struck by an average of more than a hundred lightning bolts every secondLightning is not confined to thunderstorms. Its been seen in volcanic eruptions, extremely intense forest fires, surface nuclear detonations, heavy snowstorms
  3. 3. BETRAY HUMANITY WITH FUNCTIONAL REACTIVE PROGRAMMING
  4. 4. RIDICULOUSLY BRIEF HISTORY Conal Elliott & Paul Hudak write Fran A bunch of libraries are made (Reactive Banana, Yampa, etc) Conal writes Push/Pull paper to address issues.Eric Meijer & Friends make it more accessible starting with C#, then jsLots of other frameworks made (Knockout, RxJs, Bacon, Flapjax) I’m talking to you now
  5. 5. SO... WHAT IS IT?
  6. 6. Declarative Stateless AsynchronousExplicit event streams Compositional Explicit time Identity over timeData flow modeling
  7. 7. Behavior & Event
  8. 8. Behavior & Event
  9. 9. Observable Enumerable
  10. 10. Enumerable / PullObservable / Push
  11. 11. mapreduce filtergroupByconcat zip take drop
  12. 12. merge delay skip throttle switchskipWhilecombinetakeUntil
  13. 13. Not reactive Reactive
  14. 14. Not reactive Reactive
  15. 15. Subscribe
  16. 16. No subscribe
  17. 17. No subscribe
  18. 18. EXAMPLE!
  19. 19. email: brian@looprecur.comtwitter: @drbooleanblog: drboolean.tumblr.comgithub: drbooleanfrp libraries:https://github.com/raimohanska/bacon.jshttp://www.flapjax-lang.org/https://github.com/Reactive-Extensions/RxJS

×