Book description
Summary
Functional Reactive Programming teaches the concepts and applications of FRP. It offers a careful walk-through of core FRP operations and introduces the concepts and techniques you'll need to use FRP in any language.
About the Technology
Today’s software is shifting to more asynchronous, event-based solutions. For decades, the Observer pattern has been the go-to event infrastructure, but it is known to be bug-prone. Functional reactive programming (FRP) replaces Observer, radically improving the quality of event-based code.
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
Readers need intermediate Java or JavaScript skills. No experience with functional programming or FRP required.
About the Authors
Stephen Blackheath and Anthony Jones are experienced software developers and the creators of the Sodium FRP library for multiple languages.
Table of contents
- Copyright
- Brief Table of Contents
- Table of Contents
- Foreword
- Preface
- Acknowledgments
- About this Book
- About the Cover
- Chapter 1. Stop listening!
- Chapter 2. Core FRP
- Chapter 3. Some everyday widget stuff
- Chapter 4. Writing a real application
- Chapter 5. New concepts
- Chapter 6. FRP on the web
- Chapter 7. Switch
- Chapter 8. Operational primitives
- Chapter 9. Continuous time
- Chapter 10. Battle of the paradigms
- Chapter 11. Programming in the real world
- Chapter 12. Helpers and patterns
- Chapter 13. Refactoring
- Chapter 14. Adding FRP to existing projects
- Chapter 15. Future directions
- Appendix A. Sodium API
- Appendix B. The six plagues of event handling
- Appendix C. Comparison of FRP systems
- Appendix D. A section for managers
- Appendix E. Denotational semantics of Sodium
- Index
- List of Figures
- List of Tables
- List of Listings
Product information
- Title: Functional Reactive Programming
- Author(s):
- Release date: August 2016
- Publisher(s): Manning Publications
- ISBN: 9781633430105
You might also like
book
Tidy First?
Messy code is a nuisance. "Tidying" code, to make it more readable, requires breaking it up …
book
GraphQL in Action
GraphQL in Action gives you the tools to get comfortable with the GraphQL language, build and …
book
Radar Trends to Watch: September 2023
Read about the latest developments on O'Reilly Media's Radar.
book
CLR via C#, Fourth Edition
Dig deep and master the intricacies of the common language runtime, C#, and .NET development. Led …