Build Reactive Websites with RxJS

Randall Koutnik

  • 出版商: Pragmatic Bookshelf
  • 出版日期: 2019-01-22
  • 售價: $1,400
  • 貴賓價: 9.5$1,330
  • 語言: 英文
  • 頁數: 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。Observables將其他JavaScript異步機制(如回調和承諾)合併為一種新的數據觀點。Observables將異步事件視為一個流,而不是處理對象並跟踪其狀態。RxJS為您提供了管理、操作和處理Observables的工具,以簡化和加速您的前端應用程序。

不要害怕,您正處於正確的位置。不用擔心陷入理論的泥沼中。從基礎知識開始,建立小型應用程序以說明更深層次的觀點。將這些基礎知識應用於更複雜的問題,如處理異步狀態和避免競爭條件。一旦您掌握了複雜問題,就可以跳入架構,了解如何在沒有框架的情況下構建基於Observables的應用程序,以及在Angular 2的領域中。掌握Observables後,轉向構建基於畫布的遊戲,展示您對Observables靈活性的深刻理解。

掌握RxJS的Observables,使您的異步JavaScript程式碼更加乾淨和簡單。

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