Reactive Patterns with RxJS for Angular: A practical guide to managing your Angular application's data reactively and efficiently using RxJS 7 (Paperback)

Chebbi, Lamis

  • 出版商: Packt Publishing
  • 出版日期: 2022-04-29
  • 售價: $1,560
  • 貴賓價: 9.5$1,482
  • 語言: 英文
  • 頁數: 224
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 1801811512
  • ISBN-13: 9781801811514
  • 相關分類: Angular
  • 立即出貨 (庫存=1)

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

商品描述

Discover how you can leverage the reactive paradigm with RxJS in your Angular applications using some common patterns and techniques that can be implemented in real-world use cases

Key Features

- Learn how to write clean, maintainable, performant, and optimized Angular web applications using reactive patterns
- Explore various RxJS operators and techniques in detail to improve the testing and performance of your code
- Switch from an imperative mindset to reactive by comparing both

Book Description

RxJS is a fast, reliable, and compact library for handling asynchronous and event-based programs. It is a first-class citizen in Angular and enables web developers to enhance application performance, code quality, and user experience, so using reactive patterns in your Angular web development projects can improve user interaction on your apps, which will significantly improve the ROI of your applications.

This book is a step-by-step guide to learning everything about RxJS and reactivity. You'll begin by understanding the importance of the reactive paradigm and the new features of RxJS 7. Next, you'll discover various reactive patterns, based on real-world use cases, for managing your application's data efficiently and implementing common features using the fewest lines of code.

As you build a complete application progressively throughout the book, you'll learn how to handle your app data reactively and explore different patterns that enhance the user experience and code quality, while also improving the maintainability of Angular apps and the developer's productivity. Finally, you'll test your asynchronous streams and enhance the performance and quality of your applications by following best practices.

By the end of this RxJS Angular book, you'll be able to develop Angular applications by implementing reactive patterns.

What you will learn

- Understand how to use the marble diagram and read it for designing reactive applications
- Work with the latest features of RxJS 7
- Build a complete Angular app reactively, from requirement gathering to deploying it
- Become well-versed with the concepts of streams, including transforming, combining, and composing them
- Explore the different testing strategies for RxJS apps, their advantages, and drawbacks
- Understand memory leak problems in web apps and techniques to avoid them
- Discover multicasting in RxJS and how it can resolve complex problems

Who this book is for

If you're an Angular developer who wants to leverage RxJS for building reactive web applications, this is the book for you. Beginner-level experience with Angular and TypeScript and knowledge of functional programming concepts is assumed.

商品描述(中文翻譯)

發現如何在您的Angular應用程式中使用RxJS的反應式範式,並使用一些常見的模式和技術來實現真實世界的使用案例。

主要特點:

- 學習如何使用反應式模式編寫乾淨、可維護、高效和優化的Angular Web應用程式。
- 詳細探索各種RxJS運算子和技術,以改善代碼的測試和性能。
- 通過比較兩者,從命令式思維轉換為反應式。

書籍描述:

RxJS是一個快速、可靠且緊湊的處理異步和基於事件的程式庫。它是Angular的一等公民,使Web開發人員能夠提升應用程式的性能、代碼質量和用戶體驗,因此在您的Angular Web開發項目中使用反應式模式可以改善應用程式上的用戶互動,從而顯著提高應用程式的投資回報率。

本書是一本逐步指南,教您如何學習RxJS和反應式的一切。您將首先了解反應式範式的重要性以及RxJS 7的新功能。接下來,您將根據真實世界的使用案例,發現各種反應式模式,以有效地管理應用程式的數據並使用最少的代碼實現常見功能。

隨著您在整本書中逐步構建一個完整的應用程式,您將學習如何以反應式方式處理應用程式數據,並探索不同的模式,以增強用戶體驗和代碼質量,同時提高Angular應用程式的可維護性和開發人員的生產力。最後,您將通過遵循最佳實踐來測試異步流並提高應用程式的性能和質量。

通過閱讀本書,您將能夠通過實施反應式模式來開發Angular應用程式。

您將學到什麼:

- 瞭解如何使用圖表和閱讀圖表來設計反應式應用程式。
- 使用RxJS 7的最新功能。
- 從需求收集到部署,以反應式方式構建完整的Angular應用程式。
- 熟悉流的概念,包括轉換、組合和組合它們。
- 探索RxJS應用程式的不同測試策略,它們的優點和缺點。
- 瞭解Web應用程式中的內存洩漏問題以及避免它們的技術。
- 發現RxJS中的多播以及它如何解決複雜問題。

本書適合對Angular開發有興趣並希望利用RxJS構建反應式Web應用程式的開發人員。假設您具有初級水平的Angular和TypeScript經驗,並瞭解函數式編程概念。

作者簡介

Lamis Chebbi is a Google Developer Expert for Angular and an Auth0 ambassador.

She is an enthusiastic software engineer with a strong passion for the modern web. She’s the founder of Angular Tunisia, a member of the WWCode community, a speaker, a content creator, and a trainer. She has been into Angular for the past few years and loves to share her knowledge about Angular through participating in workshops and organizing training sessions. ng-girls is one of the communities she supports. Empowering women and students is one of her highest priorities. Besides Angular and the web, Lamis loves music, traveling, chromotherapy, and volunteering. Last but not least, she’s a forever student.

作者簡介(中文翻譯)

Lamis Chebbi 是 Angular 的 Google Developer Expert,也是 Auth0 的大使。

她是一位熱情洋溢的軟體工程師,對現代網頁開發充滿熱忱。她是 Angular Tunisia 的創辦人,也是 WWCode 社群的成員、演講者、內容創作者和培訓師。她在過去幾年一直致力於 Angular,喜歡透過參加工作坊和組織培訓課程來分享她對 Angular 的知識。ng-girls 是她支持的社群之一。賦予女性和學生力量是她最重要的優先事項之一。除了 Angular 和網頁開發,Lamis 還喜歡音樂、旅行、色彩療法和志願工作。最後但同樣重要的是,她是一位永遠的學習者。

目錄大綱

1. The Power of the Reactive Paradigm
2. RxJS 7 – The Major Features
3. A Walkthrough of the Application
4. Fetching Data as Streams
5. Error Handling
6. Combining Streams
7. Transforming Streams
8. Multicasting Essentials
9. Caching Streams
10. Sharing Data between Components
11. Bulk Operations
12. Processing Real-Time Updates
13. Testing RxJS Observables

目錄大綱(中文翻譯)

1. 反應式範式的力量
2. RxJS 7 - 主要功能
3. 應用程式導覽
4. 以串流方式取得資料
5. 錯誤處理
6. 合併串流
7. 轉換串流
8. 多點傳送基礎知識
9. 快取串流
10. 在元件之間共享資料
11. 批次操作
12. 處理即時更新
13. 測試 RxJS Observables