Mastering Reactive JavaScript
暫譯: 精通反應式 JavaScript

Erich de Souza Oliveira

  • 出版商: Packt Publishing
  • 出版日期: 2017-05-30
  • 售價: $1,840
  • 貴賓價: 9.5$1,748
  • 語言: 英文
  • 頁數: 310
  • 裝訂: Paperback
  • ISBN: 1786463385
  • ISBN-13: 9781786463388
  • 相關分類: JavaScript
  • 海外代購書籍(需單獨結帳)

商品描述

Key Features

  • Handle an infinite stream of incoming data using RxJs without going crazy
  • Explore important RxJs operators that can help you improve your code readability
  • Get acquainted with the different techniques and operators used to handle data traffic, which occurs when you receive data faster than you can process

Book Description

If you're struggling to handle a large amount of data and don't know how to improve your code readability, then reactive programming is the right solution for you. It lets you describe how your code behaves when changes happen and makes it easier to deal with real-time data. This book will teach you what reactive programming is, and how you can use it to write better applications.

The book starts with the basics of reactive programming, what Reactive Extensions is, and how can you use it in JavaScript along with some reactive code using Bacon. Next, you'll discover what an Observable and an Observer are and when to use them.You'll also find out how you can query data through operators, and how to use schedulers to react to changes.

Moving on, you'll explore the RxJs API, be introduced to the problem of data traffic (backpressure), and see how you can mitigate it. You'll also learn about other important operators that can help improve your code readability, and you'll see how to use transducers to compose operators.

At the end of the book, you'll get hands-on experience of using RxJs, and will create a real-time web chat using RxJs on the client and server, providing you with the complete package to master RxJs.

What you will learn

  • Get to know the basics of functional reactive programming using RxJs

商品描述(中文翻譯)

主要特點


  • 使用 RxJs 處理無限的數據流而不會感到困擾

  • 探索重要的 RxJs 操作符,幫助你提高代碼的可讀性

  • 熟悉處理數據流量的不同技術和操作符,當你接收數據的速度快於處理速度時會發生這種情況

書籍描述

如果你在處理大量數據時感到困難,並且不知道如何提高代碼的可讀性,那麼反應式編程就是適合你的解決方案。它讓你能夠描述當變更發生時你的代碼如何運作,並使處理實時數據變得更容易。本書將教你什麼是反應式編程,以及如何使用它來編寫更好的應用程式。

本書從反應式編程的基本概念開始,介紹 Reactive Extensions 是什麼,以及如何在 JavaScript 中使用它,並提供一些使用 Bacon 的反應式代碼。接下來,你將了解 Observable 和 Observer 是什麼,以及何時使用它們。你還會發現如何通過操作符查詢數據,以及如何使用調度器來對變更做出反應。

接下來,你將探索 RxJs API,了解數據流量問題(背壓),並查看如何減輕這個問題。你還將學習其他重要的操作符,這些操作符可以幫助提高你的代碼可讀性,並了解如何使用轉換器來組合操作符。

在書的最後,你將獲得使用 RxJs 的實踐經驗,並將使用 RxJs 在客戶端和伺服器上創建一個實時網頁聊天,為你提供掌握 RxJs 的完整工具。

你將學到什麼


  • 了解使用 RxJs 的函數式反應式編程的基本概念


最後瀏覽商品 (19)