کتاب الگوهای واکنشی با RxJS و سیگنال‌های Angular:
برنامه‌های Angular 18 خود را با Observableهای RxJS ارتقا دهید.

عنوان:

Reactive Patterns with RxJS and Angular Signals

نویسنده:

Lamis Chebbi

انتشارات:

Packt Publishing

تاریخ انتشار:

2024

حجم:

2.9MB

دانلود

معرفی کتاب:" الگوهای واکنشی با RxJS و سیگنال‌های Angular: برنامه‌های Angular 18 خود را با Observableهای RxJS ارتقا دهید. "

ساخت اپلیکیشن‌های Angular با الگوهای واکنشی و بهره‌گیری از قابلیت‌های جدید Angular 18

این کتاب راهنمایی عملی و جامع برای توسعه‌دهندگانی است که می‌خواهند از RxJS و Angular Signals برای ساخت اپلیکیشن‌های سریع، پایدار و واکنشی استفاده کنند. نسخه دوم کتاب با جدیدترین نسخه Angular هماهنگ شده و روش‌هایی نوین برای پیاده‌سازی برنامه‌های رویدادمحور ارائه می‌دهد.

ویژگی‌های کلیدی:

  • شناخت الگوهای کاربردی RxJS برای بهبود عملکرد و ساختار کد
  • آشنایی با قابلیت‌های جدید Angular مانند Signals، کامپوننت‌های مستقل و نمایه‌های قابل‌تعویق
  • مدیریت استریم‌ها، ترکیب آن‌ها و جلوگیری از نشت حافظه
  • آموزش عملی با ساخت یک اپلیکیشن کامل واکنشی
  • تست اپلیکیشن‌های RxJS و بهینه‌سازی عملکرد

مخاطبان این کتاب:

مناسب برای توسعه‌دهندگان Angular که می‌خواهند استفاده از RxJS و سیستم سیگنال‌های جدید را یاد بگیرند. آشنایی مقدماتی با Angular، TypeScript و اصول برنامه‌نویسی تابعی مفید است اما الزامی نیست.

آنچه خواهید آموخت:

  • درک عمیق از مفاهیم RxJS: Observable، Subject، اپراتورها
  • نحوه استفاده از نمودارهای Marble برای مدل‌سازی جریان داده
  • ساختاردهی پیشرفته اپلیکیشن با Angular Signals
  • آشنایی با تکنیک‌های تست و Multicasting در RxJS
  • ایجاد تجربه کاربری روان با بهینه‌سازی واکنش‌گرایی در رابط کاربری

با مطالعه این کتاب، به‌طور کامل بر برنامه‌نویسی واکنشی در Angular مسلط خواهید شد و می‌توانید اپلیکیشن‌هایی مدرن، مقیاس‌پذیر و با تجربه کاربری قوی طراحی کنید.

فهرست مطالب

  • Cover
  • Title Page
  • Copyright and Credits
  • Dedication
  • Foreword
  • Contributors
  • Table of Contents
  • Preface
  • Part 1: An Introduction to the Reactive World
  • Chapter 1: Diving into the Reactive Paradigm
  • Technical requirements
  • Exploring the pillars of reactive programming
  • Learning about the marble diagram (our secret weapon)
  • Highlighting the use of RxJS in Angular
  • Summary
  • Chapter 2: Walking through Our Application
  • Technical requirements
  • Breaking down our app’s interfaces
  • Reviewing our app’s architecture
  • Reviewing our app’s components
  • Summary
  • Part 2: A Trip into Reactive Patterns
  • Chapter 3: Fetching Data as Streams
  • Technical requirements
  • Defining the data fetch requirement
  • Exploring the classic pattern for fetching data
  • Exploring the reactive pattern for fetching data
  • Highlighting the advantages of the reactive pattern
  • Diving into the built-in control flow in Angular 17
  • Summary
  • Chapter 4: Handling Errors Reactively
  • Technical requirements
  • Understanding the anatomy of an Observable contract
  • Exploring error handling patterns and strategies
  • Handling errors in our recipe app
  • Summary
  • Chapter 5: Combining Streams
  • Technical requirements
  • Defining the filtering requirement
  • Exploring the imperative pattern for filtering data
  • Exploring the declarative pattern for filtering data
  • Highlighting common pitfalls and best practices
  • Summary
  • Chapter 6: Transforming Streams
  • Technical requirements
  • Defining the autosave requirement
  • Exploring the imperative pattern for the autosave feature
  • Exploring the reactive pattern for the autosave feature
  • Summary
  • Chapter 7: Sharing Data between Angular Components
  • Technical requirements
  • Defining the sharing data requirement
  • Exploring the reactive pattern to share data
  • Leveraging Deferrable Views in Angular 17
  • Summary
  • Part 3: The Power of Angular Signals
  • Chapter 8: Mastering Reactivity with Angular Signals
  • Technical requirements
  • Understanding the motivation behind Signals
  • Unveiling the Signal API
  • Unlocking the power of RxJS and Angular Signals
  • Integrating Signals into our recipe app
  • Exploring reactive data binding with Signals
  • Summary
  • Part 4: Multicasting Adventures
  • Chapter 9: Demystifying Multicasting
  • Technical requirements
  • Explaining multicasting versus unicasting
  • Exploring RxJS subjects
  • Highlighting the advantages of multicasting
  • Summary
  • Chapter 10: Boosting Performance with Reactive Caching
  • Technical requirements
  • Defining the caching requirement
  • Exploring the reactive pattern to cache streams
  • Highlighting the use of caching for side effects
  • Summary
  • Chapter 11: Performing Bulk Operations
  • Technical requirements
  • Defining the bulk operation requirements
  • Learning the reactive pattern for bulk operations
  • Learning the reactive pattern for tracking the bulk operation’s progress
  • Summary
  • Chapter 12: Processing Real-Time Updates
  • Technical requirements
  • Defining the requirements of real time
  • Learning the reactive pattern for consuming real-time messages
  • Learning the reactive pattern for handling reconnection
  • Summary
  • Part 5: Final Touches
  • Chapter 13: Testing RxJS Observables
  • Technical requirements
  • Learning about the subscribe and assert pattern
  • Learning about the marble testing pattern
  • Highlighting testing streams using HttpClientTestingModule
  • Summary
  • Index
  • Other Books You May Enjoy

مشخصات

نام کتاب

Reactive Patterns with RxJS and Angular Signals

نویسنده

Lamis Chebbi

انتشارات

Packt Publishing

تاریخ انتشار

2024

ISBN

9781835087701

چاپ

اول

تعداد صفحات

255

زبان

انگلیسی

فرمت

pdf

حجم

2.9MB

موضوع

reactive angular ; javascript frameworks