Build Reactive Websites with RxJS
暫譯: 使用 RxJS 建立反應式網站

Randall Koutnik

  • 出版商: Pragmatic Bookshelf
  • 出版日期: 2019-01-22
  • 定價: $1,400
  • 售價: 8.8$1,232
  • 語言: 英文
  • 頁數: 196
  • 裝訂: Paperback
  • ISBN: 1680502956
  • ISBN-13: 9781680502954
  • 相關分類: JavaScript
  • 立即出貨 (庫存 < 3)

相關主題

商品描述

Upgrade your skillset, succeed at work, and above all, avoid the many headaches that come with modern front-end development. Simplify your codebase with hands-on examples pulled from real-life applications. Master the mysteries of asynchronous state management, detangle puzzling race conditions, and send spaceships soaring through the cosmos. When you finish this book, you'll be able to tame the wild codebeasts before they ever get a chance to wreck your day.

The front-end world can be fraught with complexity. The RxJS library offers a solution: Observables. Observables merge other JavaScript asynch mechanisms such as callbacks and promises into a new way of looking at data. Instead of dealing with objects and keeping track of their state, Observables view asynchronous events as a stream. RxJS provides you the tools to manage, manipulate, and process Observables to simplify and speed up your front-end applications.

Never fear, you're in exactly the right place. Don't worry about getting stuck in a mire of theory. Start off with the basics, building small applications that illustrate deeper points. Take those building blocks and apply them to much more complex problems like handling asynchronous state and dodging race conditions before they happen. Once you've got a handle on complex problems, take a leap into architecture, discovering how to structure an Observable-based application both without a framework and in the land of Angular 2. After mastering Observables, switch gears to building a canvas-based game, demonstrating your deep understanding of the flexibility of Observables.

Master the Observable with RxJS, and make your asynchronous JavaScript code that much cleaner and simpler.

What You Need:

Any major browser and text editor, as well as the current versions of git, NodeJS, and npm.

商品描述(中文翻譯)

升級您的技能組合,在工作中取得成功,最重要的是,避免現代前端開發帶來的許多頭痛問題。通過從現實應用中提取的實作範例來簡化您的代碼庫。掌握非同步狀態管理的奧秘,解開令人困惑的競爭條件,並讓太空船在宇宙中翱翔。當您完成這本書時,您將能夠馴服那些野性的代碼怪獸,讓它們在破壞您的一天之前無法得逞。

前端世界可能充滿複雜性。RxJS 庫提供了一個解決方案:可觀察對象(Observables)。可觀察對象將其他 JavaScript 非同步機制,如回調(callbacks)和承諾(promises),合併成一種全新的數據觀點。可觀察對象將非同步事件視為一個流,而不是處理對象並跟蹤它們的狀態。RxJS 為您提供了管理、操作和處理可觀察對象的工具,以簡化和加速您的前端應用。

別擔心,您來對地方了。不要擔心陷入理論的泥潭。從基礎開始,構建小型應用來說明更深層的觀點。將這些基礎構件應用於更複雜的問題,例如處理非同步狀態和在競爭條件發生之前避免它們。一旦您掌握了複雜問題,便可以跳入架構領域,探索如何在沒有框架的情況下以及在 Angular 2 的世界中結構化基於可觀察對象的應用。在掌握可觀察對象後,轉向構建基於畫布的遊戲,展示您對可觀察對象靈活性的深刻理解。

掌握 RxJS 的可觀察對象,讓您的非同步 JavaScript 代碼變得更加乾淨和簡單。

您需要的工具:

任何主要瀏覽器和文本編輯器,以及當前版本的 git、NodeJS 和 npm。