Architecting Angular Applications Flux, Redux & ngrx
Christoffer Noring
- 出版商: Packt Publishing
- 出版日期: 2018-03-26
- 售價: $1,600
- 貴賓價: 9.5 折 $1,520
- 語言: 英文
- 頁數: 364
- 裝訂: Paperback
- ISBN: 1787122409
- ISBN-13: 9781787122406
-
相關分類:
Angular
立即出貨 (庫存=1)
買這商品的人也買了...
-
$590$460 -
$690$538 -
$1,140$1,117 -
$580$458 -
$1,580$1,501 -
$580$458 -
$1,190Kubernetes Up and Running : Dive into the Future of Infrastructure, 2/e (Paperback)
-
$1,260Progressive Web Apps with Angular: Create Responsive, Fast and Reliable Pwas Using Angular
-
$680$530 -
$654$621 -
$450$351 -
$980$774
相關主題
商品描述
Key Features
- Learn what makes a good angular application architecture
- Use Redux to write performant, consistent Angular applications
- Bring the one-way data flow architecture to your Angular apps
Book Description
RxJS is used to architect the internal state of your application to make it easier to develop, test and debug. Angular doesn't prescribe any specific internal architecture. When it comes Angular, you can combine ngRx which is Redux for Angular with RxJS. It's the best of both worlds, the simplicity of Redux plus the reactive programming power of RxJS helps to build your application architecture which makes your code elegant, easy to "reason" about, debug and test.
This book will teach you to build highly performing architecture for your applications by combining the power of Flux, Redux & ngrx. It starts by retrospecting the way we use to build apps in AngularJS and will look at one way data flow and Flux pattern with concepts such as Dispatcher, Action, Stores and Controller Views. You will then learn to structure your async code and see how to model Streams and Values over time, manipulate data streams. Additionally, you will get familiar with the basics of RxJS and later explore advanced operators, Subjects, Schedulers, Error handling, Testing, Tools. Furthermore, you will not only get to know the Redux pattern but also will understand when and why you need it. Towards the end, you will realize why ngrx and Angular go so well together. You will also see how to debug your application with selected tools as well as test different facets of your app
By the end of the book, you will be able to build your own light weight app using Flux, Redux & ngrx.
What you will learn
- Understand one way data flow and Flux pattern
- Work with Functional programming and Asynchronous data streams
- Figure out how RxJS can help us address the flaws in/of Promises
- Set up cascading different versions of cascading calls
- Explore more advanced operators such as flatMap, switchMap, Subjects, Schedulers and Error handling approaches.
- Get familiar with Redux pattern and its three principles
- Test and Debug different features of your app.
商品描述(中文翻譯)
主要特點
- 學習什麼是良好的 Angular 應用程式架構
- 使用 Redux 撰寫高效且一致的 Angular 應用程式
- 將單向資料流架構引入你的 Angular 應用程式
書籍描述
RxJS 用於設計應用程式的內部狀態,使其更容易開發、測試和除錯。Angular 不規定任何特定的內部架構。當涉及到 Angular 時,你可以將 Redux for Angular(ngRx)與 RxJS 結合使用。這是兩全其美,Redux 的簡潔性加上 RxJS 的反應式編程能力,有助於構建你的應用程式架構,使你的程式碼優雅、易於「理解」、除錯和測試。
本書將教你如何通過結合 Flux、Redux 和 ngrx 的強大功能來構建高性能的應用程式架構。它首先回顧了我們在 AngularJS 中構建應用程式的方式,並探討了單向資料流和 Flux 模式,包括調度器、動作、存儲和控制器視圖等概念。然後,你將學習如何結構化你的異步程式碼,並了解如何建模時間上的流和值,操作資料流。此外,你還將熟悉 RxJS 的基礎知識,並進一步探索高級運算子、主題、調度器、錯誤處理、測試和工具。此外,你不僅將了解 Redux 模式,還將了解何時以及為什麼需要它。最後,你將了解為什麼 ngrx 和 Angular 如此相輔相成。你還將看到如何使用選定的工具來除錯應用程式,以及測試應用程式的不同方面。
通過閱讀本書,你將能夠使用 Flux、Redux 和 ngrx 構建自己的輕量級應用程式。
你將學到什麼
- 了解單向資料流和 Flux 模式
- 使用函數式編程和異步資料流
- 找出 RxJS 如何幫助我們解決 Promise 的缺陷
- 設置不同版本的串聯呼叫
- 探索更高級的運算子,如 flatMap、switchMap、主題、調度器和錯誤處理方法
- 熟悉 Redux 模式及其三個原則
- 測試和除錯應用程式的不同功能