Skip to Main Content

Functional Reactive Programming

See More Retailers




About the Technology


About the Book

Functional Reactive Programming teaches you how FRP works and how to use it. You'll begin by gaining an understanding of what FRP is and why it's so powerful. Then, you'll work through greenfield and legacy code as you learn to apply FRP to practical use cases. You'll find examples in this book from many application domains using both Java and JavaScript. When you're finished, you'll be able to use the FRP approach in the systems you build and spend less time fixing problems.

What's Inside

  • Think differently about data and events
  • FRP techniques for Java and JavaScript
  • Eliminate Observer one listener at a time
  • Explore Sodium, RxJS, and Kefir.js FRP systems

About the Reader


About the Authors

Stephen Blackheath and Anthony Jones are experienced software developers and the creators of the Sodium FRP library for multiple languages. Foreword by Heinrich Apfelmus. Illustrated by Duncan Hill.

Table of Contents

  1. Stop listening!
  2. Core FRP
  3. Some everyday widget stuff
  4. Writing a real application
  5. New concepts
  6. FRP on the web
  7. Switch
  8. Operational primitives
  9. Continuous time
  10. Battle of the paradigms
  11. Programming in the real world
  12. Helpers and patterns
  13. Refactoring
  14. Adding FRP to existing projects
  15. Future directions

Stephen Blackheath is a professional developer and FRP advocate. He's the primary author of the Sodium FRP library for Java.

Anthony Jones writes code for a living and has spent half a decade refactoring a Java based configuration GUI to a FRP based framework. He is a contributor to the Sodium project.