Nicht aus der Schweiz? Besuchen Sie lehmanns.de
Functional Reactive Programming - Stephen Blackheath, Professor Anthony Jones

Functional Reactive Programming

Fachbuch-Bestseller
Buch | Softcover
245 Seiten
2016
Manning Publications (Verlag)
978-1-63343-010-5 (ISBN)
CHF 61,30 inkl. MwSt
  • Learn the concepts of Functional Reactive programming
  • Think differently about data and events
  • Discover FRP techniques for Java, C++, and JavaScript
  • Refactor away from Observer one listener at a time
  • Bold claims and hard evidence to substantiate them

This book presents examples in Java, C++, and JavaScript using the Sodium, Flapjax, and BaconJS libraries. No prior experience with functional programming is required.
Most software applications must handle user or system-generated events. The most widely-accepted event handling model is the Observer pattern, in which an object "listens" for changes in the application's state and then reacts by executing a unit of code, such as a method. While commonly used, this approach is prone to bugs related to the calling, registration, and destruction of the methods that observe and respond to events.

Functional Reactive Programming (FRP) is an alternative to the Observer pattern that's designed to deal with events as a stream of values over time rather than as a series of unique responses to discrete changes in state. This helps keep your logic tidy and frees you from the bugs that plague event handling code with no loss of expressiveness. FRP is useful anywhere the Observer pattern is common, including user interfaces, video games, networking, and industrial applications.

Functional Reactive Programming teaches the concepts and applications of FRP. It begins with a careful walk-through of the FRP core operations and introduces the concepts and techniques you'll need to use FRP in any language. Following easy-to-understand examples, you'll learn both how to use FRP in greenfield applications and how to refactor existing applications. Along the way, the book introduces the basics of functional programming in a just-in-time style, so you never learn anything before you need to use it. When you're finished, you'll be able to use FRP to spend more time adding features and less time fixing problems.

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.

Erscheint lt. Verlag 1.9.2016
Verlagsort New York
Sprache englisch
Gewicht 1000 g
Einbandart kartoniert
Themenwelt Mathematik / Informatik Informatik Datenbanken
Mathematik / Informatik Informatik Grafik / Design
Mathematik / Informatik Informatik Programmiersprachen / -werkzeuge
Informatik Software Entwicklung Spieleprogrammierung
Informatik Software Entwicklung User Interfaces (HCI)
Mathematik / Informatik Informatik Theorie / Studium
Mathematik / Informatik Informatik Web / Internet
Informatik Weitere Themen Smartphones / Tablets
Schlagworte Funktionale Programmierung
ISBN-10 1-63343-010-3 / 1633430103
ISBN-13 978-1-63343-010-5 / 9781633430105
Zustand Neuware
Haben Sie eine Frage zum Produkt?
Mehr entdecken
aus dem Bereich