RxJs In Practice (with FREE E-Book)

所在平台: Udemy

课程主页: https://www.udemy.com/course/rxjs-course/

课程评论:没有评论

第一个写评论        关注课程

课程简介

课程名称:RxJs实践(含免费电子书) 课程概述:此课程是RxJs库(JavaScript的响应式扩展)的完整实用指南。若您是刚开始接触Angular生态系统的开发者,或已经有一定经验,那么RxJs将是您最难以理解的部分。由于RxJs和响应式编程具有陡峭的学习曲线,单纯通过实例学习的方式往往难以奏效。因此,我们需要从基础的响应式设计概念开始学习。在本课程中,我们将介绍几个基础概念,并提供一系列常用的RxJs操作符,涵盖日常大部分需求。课程的目标不是覆盖所有操作符,而是选择常用的扩展子集,并为每个操作符提供实际的示例。 课程内容概述:我们将快速介绍RxJs,包括流(Stream)和可观察对象(Observable)的概念,并解答有关RxJs的常见问题,如其定义、使用时机与解决的问题。我们将从头开始实现自己的Observable,开发一个支持错误处理和取消的HTTP Observable。随后,我们将深入实际示例,涵盖各种操作符,通过官方的RxJs marble图解解释它们的行为,并提供实际示例。课程初期将重点讲解Map和Filter操作符,随后逐步引入更复杂的操作符,如shareReplay、concat、concatMap以及其他常用的可观察对象组合策略,如merge、mergeMap、exhaustMap、switch和switchMap。同时,我们将涵盖后端保存操作和搜索联想等实际例子。 我们还会探讨多种RxJs错误处理策略,如catch和recover、catch和rethrow或retry,介绍多种常用的Subject(主题),如BehaviorSubject和AsyncSubject。通过一个主题,我们将实现一个常见的响应式模式:从头开始实现集中式可观察存储。此外,我们将探讨更多常用操作符,如withLatestFrom、forkJoin、take、first、delay、delayWhen、startWith等。在课程结束时,我们将从头开始实现一个自定义的可管道操作符:一个有助于调试RxJS程序的调试操作符。 学习成果:通过参加本课程,您将学习如何在实践中使用RxJs库以响应式风格构建应用程序。您将深入理解响应式编程的核心概念,如流和可观察对象。您还将熟悉一个扩展的操作符子集,为使用RxJs构建响应式应用程序提供所需的一切。欢迎查看课程的免费课程内容,并享受学习的过程!

课程评论(0条)

课程详情

This Course in a Nutshell (note: this course includes the Typescript Jumpstart E-Book) This course is a complete practical guide for the RxJs library (Reactive Extensions for Javascript). If you are a developer just getting started with the Angular ecosystem, or even if you already have some experience with it, the part that you will find the hardest to wrap your head around is RxJs. And this is because RxJs and Reactive Programming have a steep learning curve that makes it hard to just jump in into an existing program and learn these concepts by example. With RxJs that approach will simply not work. Instead, we need to start at the beginning and learn some baseline reactive design concepts first. In this course, we will start by presenting a couple of baseline concepts, and then we will provide you with an extended catalog of RxJs operators that will in practice cover the vast majority of your daily needs. Also, the goal here is not to cover every single operator, but instead to choose an extended subset that contains the most commonly used operators, and provide practical examples for each. Another goal of the course is to show how RxJs is meant to be used for building programs using Reactive Design as opposed to an imperative programming style. Course Overview We will start by quickly introducing RxJs: we will cover the notions of Stream and Observable, and we will answer common questions such as: what is RxJs, when to use it and why, what problem does it solve? We will then write our own Observable from first principles: we will implement our own HTTP observable that will allow us to handle backend HTTP requests while supporting error handling and cancellation. After this quick introduction, we will dive straight into the practical examples covering a large variety of operators. We will cover the operators by explaining their behavior using the official RxJs marble diagrams, and then we will complement that with a practical example. We will first start with the Map and Filter operators, and quickly move to more complex operators such as shareReplay, concat, concatMap, and other commonly used observable combination strategies such as: merge and mergeMap, exhaustMap, switch and switchMap. We will provide practical examples for these operators that include backend save operations and search typeaheads. We will then cover several RxJs error handling strategies, like catch and recover, catch and rethrow or retry. We will also cover the notion of subject and give examples of several commonly used subjects, such as BehaviorSubject or AsyncSubject. We will then use a subject to implement a very commonly used reactive pattern: we will implement a centralized observable store from first principles. We will also cover many other commonly used operators, that include but are not restricted to: withLatestFrom, forkJoin, take, first, delay, delayWhen, startWith, etc. At the end of the course, we will implement our own custom pipeable operator from first principles: we will implement a debugging operator that is going to be very helpful for debugging our RxJS programs. What Will You Learn In this Course? By taking this course you will learn how to use the RxJs library in practice for building applications in reactive style. You will understand well the core notions that are the basis of reactive programming, such as Streams and Observables. You will also be familiar with an extended subset of operators that in practice will provide all that you will need for building applications in reactive style using RxJs. Have a look at the course free lessons below, and please enjoy the course!

课程标签

0人关注该课程

主题相关的课程