Functional Reactive Programming (Paperback)

Stephen Blackheath, Anthony Jones

  • 出版商: Manning
  • 出版日期: 2016-08-25
  • 售價: $1,580
  • 貴賓價: 9.5$1,501
  • 語言: 英文
  • 頁數: 360
  • 裝訂: Paperback
  • ISBN: 1633430103
  • ISBN-13: 9781633430105
  • 立即出貨

買這商品的人也買了...

相關主題

商品描述

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.

Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.

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. 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

商品描述(中文翻譯)

摘要
《Functional Reactive Programming》介紹了FRP的概念和應用。它詳細介紹了核心FRP操作,並介紹了您在任何語言中使用FRP所需的概念和技術。

購買印刷版書籍將包含Manning Publications提供的PDF、Kindle和ePub格式的免費電子書。

關於技術
現今的軟體正轉向更多異步、事件驅動的解決方案。數十年來,觀察者模式一直是事件基礎架構的首選,但已知存在錯誤。函數式反應式編程(FRP)取代了觀察者模式,徹底改善了基於事件的程式碼的品質。

關於本書
《Functional Reactive Programming》教授您FRP的工作原理以及如何使用它。您將首先了解FRP是什麼以及它為何如此強大。然後,您將通過研究全新和舊有的程式碼,學習如何將FRP應用於實際案例中。本書中使用了Java和JavaScript的許多應用領域的範例。完成後,您將能夠在您所建立的系統中使用FRP方法,並減少解決問題所需的時間。

內容簡介
- 改變對於數據和事件的思考方式
- Java和JavaScript的FRP技術
- 逐一消除觀察者模式
- 探索Sodium、RxJS和Kefir.js FRP系統

讀者需具備中級的Java或JavaScript技能,無需具備函數式編程或FRP的經驗。

關於作者
Stephen Blackheath和Anthony Jones是經驗豐富的軟體開發人員,也是多種語言的Sodium FRP庫的創作者。由Heinrich Apfelmus撰寫前言,Duncan Hill繪製插圖。

目錄
1. 停止監聽!
2. 核心FRP
3. 一些日常小工具
4. 撰寫真實應用程式
5. 新概念
6. 網頁上的FRP
7. 切換
8. 操作原始碼
9. 持續時間
10. 范式之戰
11. 現實世界中的程式設計
12. 助手和模式
13. 重構
14. 將FRP添加到現有專案中
15. 未來發展方向