SlideShare a Scribd company logo
LIGHTNING TALK
    SFJS 2012
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 volts


It is estimated that Earth as a whole is struck by an average of
       more than a hundred lightning bolts every second


Lightning is not confined to thunderstorms. It's been seen in
  volcanic eruptions, extremely intense forest fires, surface
           nuclear detonations, heavy snowstorms
BETRAY HUMANITY WITH
 FUNCTIONAL REACTIVE
    PROGRAMMING
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 js

Lots of other frameworks made (Knockout, RxJs, Bacon, Flapjax)

                    I’m talking to you now
SO... WHAT IS IT?
Declarative

      Stateless

   Asynchronous

Explicit event streams

   Compositional

    Explicit time

  Identity over time

Data flow modeling
Behavior & Event
Behavior & Event
Observable
             Enumerable
Enumerable / Pull




Observable / Push
map

reduce

 filter

groupBy

concat

  zip

 take

 drop
merge

  delay

  skip

 throttle

 switch

skipWhile

combine

takeUntil
Not reactive




  Reactive
Functional Reactive Programming in Javascript
Functional Reactive Programming in Javascript
Not reactive




  Reactive
Subscribe
No subscribe
No subscribe
EXAMPLE!
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
email: brian@looprecur.com
twitter: @drboolean
blog: drboolean.tumblr.com
github: drboolean
frp libraries:
https://github.com/raimohanska/bacon.js
http://www.flapjax-lang.org/
https://github.com/Reactive-Extensions/RxJS

More Related Content

Similar to Functional Reactive Programming in Javascript (10)

PDF
Embracing Reactive Streams with Java 9 and Spring 5
Wilder Rodrigues
 
PDF
IPT High Performance Reactive Programming with JAVA 8 and JavaScript
Trayan Iliev
 
PDF
Reactive meetup 0 copy
Patrick Charles
 
PDF
Buy ebook Functional Reactive Programming 1st Edition Stephen Blackheath chea...
wongazarok
 
PDF
Spring Framework 5: History and Reactive features
Aliaksei Zhynhiarouski
 
PDF
Being Reactive with Spring
Kris Galea
 
PPTX
Reactive Spring 5
Corneil du Plessis
 
PPTX
Reactive Fast Data & the Data Lake with Akka, Kafka, Spark
Todd Fritz
 
PPTX
Reactive programming intro
Ahmed Ehab AbdulAziz
 
PPTX
Building Reactive Fast Data & the Data Lake with Akka, Kafka, Spark
Todd Fritz
 
Embracing Reactive Streams with Java 9 and Spring 5
Wilder Rodrigues
 
IPT High Performance Reactive Programming with JAVA 8 and JavaScript
Trayan Iliev
 
Reactive meetup 0 copy
Patrick Charles
 
Buy ebook Functional Reactive Programming 1st Edition Stephen Blackheath chea...
wongazarok
 
Spring Framework 5: History and Reactive features
Aliaksei Zhynhiarouski
 
Being Reactive with Spring
Kris Galea
 
Reactive Spring 5
Corneil du Plessis
 
Reactive Fast Data & the Data Lake with Akka, Kafka, Spark
Todd Fritz
 
Reactive programming intro
Ahmed Ehab AbdulAziz
 
Building Reactive Fast Data & the Data Lake with Akka, Kafka, Spark
Todd Fritz
 

More from Brian Lonsdorf (10)

PPTX
Oh Composable World!
Brian Lonsdorf
 
PPTX
Millionways
Brian Lonsdorf
 
PPTX
Lenses
Brian Lonsdorf
 
PPTX
Fact, Fiction, and FP
Brian Lonsdorf
 
PPTX
Ricky Bobby's World
Brian Lonsdorf
 
PPT
Functional Patterns for the non-mathematician
Brian Lonsdorf
 
PPT
Js for learning
Brian Lonsdorf
 
PPT
Liftin every day
Brian Lonsdorf
 
PPS
Underscore
Brian Lonsdorf
 
KEY
Functional js class
Brian Lonsdorf
 
Oh Composable World!
Brian Lonsdorf
 
Millionways
Brian Lonsdorf
 
Fact, Fiction, and FP
Brian Lonsdorf
 
Ricky Bobby's World
Brian Lonsdorf
 
Functional Patterns for the non-mathematician
Brian Lonsdorf
 
Js for learning
Brian Lonsdorf
 
Liftin every day
Brian Lonsdorf
 
Underscore
Brian Lonsdorf
 
Functional js class
Brian Lonsdorf
 
Ad

Recently uploaded (20)

PDF
July Patch Tuesday
Ivanti
 
PPTX
UiPath Academic Alliance Educator Panels: Session 2 - Business Analyst Content
DianaGray10
 
PDF
Predicting the unpredictable: re-engineering recommendation algorithms for fr...
Speck&Tech
 
PDF
Human-centred design in online workplace learning and relationship to engagem...
Tracy Tang
 
PPTX
Building Search Using OpenSearch: Limitations and Workarounds
Sease
 
PDF
Rethinking Security Operations - SOC Evolution Journey.pdf
Haris Chughtai
 
PDF
LLMs.txt: Easily Control How AI Crawls Your Site
Keploy
 
PDF
Persuasive AI: risks and opportunities in the age of digital debate
Speck&Tech
 
PDF
Smart Air Quality Monitoring with Serrax AQM190 LITE
SERRAX TECHNOLOGIES LLP
 
PDF
The Builder’s Playbook - 2025 State of AI Report.pdf
jeroen339954
 
PDF
Empower Inclusion Through Accessible Java Applications
Ana-Maria Mihalceanu
 
PPT
Interview paper part 3, It is based on Interview Prep
SoumyadeepGhosh39
 
PDF
CloudStack GPU Integration - Rohit Yadav
ShapeBlue
 
PDF
Impact of IEEE Computer Society in Advancing Emerging Technologies including ...
Hironori Washizaki
 
PDF
Building Resilience with Digital Twins : Lessons from Korea
SANGHEE SHIN
 
PPTX
WooCommerce Workshop: Bring Your Laptop
Laura Hartwig
 
PPTX
Webinar: Introduction to LF Energy EVerest
DanBrown980551
 
PPTX
Extensions Framework (XaaS) - Enabling Orchestrate Anything
ShapeBlue
 
PPTX
Building a Production-Ready Barts Health Secure Data Environment Tooling, Acc...
Barts Health
 
PDF
Windsurf Meetup Ottawa 2025-07-12 - Planning Mode at Reliza.pdf
Pavel Shukhman
 
July Patch Tuesday
Ivanti
 
UiPath Academic Alliance Educator Panels: Session 2 - Business Analyst Content
DianaGray10
 
Predicting the unpredictable: re-engineering recommendation algorithms for fr...
Speck&Tech
 
Human-centred design in online workplace learning and relationship to engagem...
Tracy Tang
 
Building Search Using OpenSearch: Limitations and Workarounds
Sease
 
Rethinking Security Operations - SOC Evolution Journey.pdf
Haris Chughtai
 
LLMs.txt: Easily Control How AI Crawls Your Site
Keploy
 
Persuasive AI: risks and opportunities in the age of digital debate
Speck&Tech
 
Smart Air Quality Monitoring with Serrax AQM190 LITE
SERRAX TECHNOLOGIES LLP
 
The Builder’s Playbook - 2025 State of AI Report.pdf
jeroen339954
 
Empower Inclusion Through Accessible Java Applications
Ana-Maria Mihalceanu
 
Interview paper part 3, It is based on Interview Prep
SoumyadeepGhosh39
 
CloudStack GPU Integration - Rohit Yadav
ShapeBlue
 
Impact of IEEE Computer Society in Advancing Emerging Technologies including ...
Hironori Washizaki
 
Building Resilience with Digital Twins : Lessons from Korea
SANGHEE SHIN
 
WooCommerce Workshop: Bring Your Laptop
Laura Hartwig
 
Webinar: Introduction to LF Energy EVerest
DanBrown980551
 
Extensions Framework (XaaS) - Enabling Orchestrate Anything
ShapeBlue
 
Building a Production-Ready Barts Health Secure Data Environment Tooling, Acc...
Barts Health
 
Windsurf Meetup Ottawa 2025-07-12 - Planning Mode at Reliza.pdf
Pavel Shukhman
 
Ad

Functional Reactive Programming in Javascript

Editor's Notes