This course is a catalog of commonly used design patterns (and some anti-patterns) that every Angular developer should know. The goal of the course is to teach you how to comfortably design and develop applications in Angular in Reactive style using just plain RxJs, and nothing more.
This course comes with a running Github repository with the the finished code, as well as starting points for different sections of the course in case that you want to code along, which we recommend as its the best way to learn.
This course answers the common question: how far can we go in Angular while using only plain RxJs and nothing more, without introducing any state management library?
It turns out that the simple set of techniques taught in this course are very well suited for a wide range of applications, especially in-house built enterprise applications.
In this course, you will learn exactly how to use RxJs to design and develop both the service and the view layers of your application, and you will understand both the advantages and the pitfalls of the reactive approach.
Particularly when it comes to state management, it turns out that we can already go very far by leveraging only plain Angular and RxJs techniques, without using an additional state management library like for example NgRx.
These simplified state management techniques are adequate and sufficient for a large range of applications, and we believe that you should consider them first before thinking of adopting a full-blown state management solution.
How far can you go with these techniques? That’s what you will find out in this course.
Course Overview
We are going to start our course by taking a small Angular application that is written in imperative style, and we are going to talk about some of the problems of that approach. Then, we are going to refactor the application and explain step-by-step how to implement it in reactive style instead.
We will explain in detail every RxJs operator that we come across in this course, the first time that we need each operator.
We are going to start with a fully stateless solution first, but later we are going to improve the user experience by applying some simple RxJs-only state management techniques. We are going to use these patterns in order to handle some of the data of the application, as well as the user authentication profile.
The key element needed to implement lightweight state management is RxJs behavior subjects so we will cover those in detail in the course. We will also provide step-by-step reactive style solutions for common UI functionality like loading indicators or error messages.
Table of Contents
This course covers the following topics:
Review of an application written in imperative style
Refactoring into stateless reactive style, understanding the benefits
Smart vs Presentational Components
Stateless Observable Services
The shareReplay Operator
Stateless UI updates (without state management)
Introduction to RxJs Subjects and BehaviorSubject
Decoupled component communication using shared observable services
Using Observables to have components interact at different levels of the component tree
Error Handling and error messages in reactive style
Loading Indicators in reactive style
Improving user experience with lightweight RxJs stores
Optimistic UI updates
Managing User Authentication state with plain RxJs
Local vs Global Services
Master Detail with cached master table in reactive style
The Single Data Observable Pattern: Avoiding nested ng-component tags
Refactoring a reactive application to OnPush change detection
Conclusion and key takeaways
What Will You Learn In this Course?
At the end of the course, you will feel comfortable designing and developing Angular applications in reactive style, by leveraging plain RxJs-only techniques. You will know how to apply simplified reactive state management techniques to different common use cases, and you will understand the advantages and the limitations of this approach.
You will be familiar with a series of commonly needed reactive design patterns, and you will also be familiar with a series of common pitfalls to avoid.
Who this course is for:
Web developers looking to learn how to build Angular Applications in Reactive Style
Angular Developers looking to learn lightweight state management techniques (using RxJs only)
[TutsNode.com] - Reactive Angular Course (with RxJs)/01 Introduction/003 Setting Up your Development Environment.en.srt
11 KB
[TutsNode.com] - Reactive Angular Course (with RxJs)/01 Introduction/003 Setting Up your Development Environment.mp4
55.6 MB
[TutsNode.com] - Reactive Angular Course (with RxJs)/02 Stateless Observables Services/004 Reviewing a component written in traditional Imperative Style.en.srt
11.1 KB
[TutsNode.com] - Reactive Angular Course (with RxJs)/02 Stateless Observables Services/004 Reviewing a component written in traditional Imperative Style.mp4
80.7 MB
[TutsNode.com] - Reactive Angular Course (with RxJs)/02 Stateless Observables Services/005 Understanding potential problems of a program written in Imperative style.en.srt
[TutsNode.com] - Reactive Angular Course (with RxJs)/03 Reactive Component Interaction/017 Error Handling and the Messages Component.en.srt
6.6 KB
[TutsNode.com] - Reactive Angular Course (with RxJs)/03 Reactive Component Interaction/018 Error Handling with the catchError RxJs operator.en.srt
9.8 KB
[TutsNode.com] - Reactive Angular Course (with RxJs)/03 Reactive Component Interaction/018 Error Handling with the catchError RxJs operator.mp4
63.5 MB
[TutsNode.com] - Reactive Angular Course (with RxJs)/03 Reactive Component Interaction/019 Messages Service - Implementation Finished and Demo.en.srt
16.2 KB
[TutsNode.com] - Reactive Angular Course (with RxJs)/03 Reactive Component Interaction/019 Messages Service - Implementation Finished and Demo.mp4
96.2 MB
[TutsNode.com] - Reactive Angular Course (with RxJs)/03 Reactive Component Interaction/020 Local Error Handling in an Angular Material Dialog.en.srt
13.9 KB
[TutsNode.com] - Reactive Angular Course (with RxJs)/03 Reactive Component Interaction/020 Local Error Handling in an Angular Material Dialog.mp4
82.9 MB
[TutsNode.com] - Reactive Angular Course (with RxJs)/03 Reactive Component Interaction/021 Angular State Management - When is it Needed and Why.en.srt
9.6 KB
[TutsNode.com] - Reactive Angular Course (with RxJs)/03 Reactive Component Interaction/021 Angular State Management - When is it Needed and Why.mp4
59 MB
[TutsNode.com] - Reactive Angular Course (with RxJs)/03 Reactive Component Interaction/022 Initial Implementation of a Store Service.en.srt
11.7 KB
[TutsNode.com] - Reactive Angular Course (with RxJs)/03 Reactive Component Interaction/022 Initial Implementation of a Store Service.mp4
72.6 MB
[TutsNode.com] - Reactive Angular Course (with RxJs)/03 Reactive Component Interaction/023 Step-by-Step Implementation of an Angular Store Service.en.srt
15.1 KB
[TutsNode.com] - Reactive Angular Course (with RxJs)/03 Reactive Component Interaction/023 Step-by-Step Implementation of an Angular Store Service.mp4
103.9 MB
[TutsNode.com] - Reactive Angular Course (with RxJs)/03 Reactive Component Interaction/024 Store Optimistic Data Modification Operations - API Design.en.srt
10.4 KB
[TutsNode.com] - Reactive Angular Course (with RxJs)/03 Reactive Component Interaction/024 Store Optimistic Data Modification Operations - API Design.mp4
67.4 MB
[TutsNode.com] - Reactive Angular Course (with RxJs)/03 Reactive Component Interaction/025 Store Optimistic Data Modifications - Step-By-Step Implementation.en.srt
18 KB
[TutsNode.com] - Reactive Angular Course (with RxJs)/03 Reactive Component Interaction/025 Store Optimistic Data Modifications - Step-By-Step Implementation.mp4
129.2 MB
[TutsNode.com] - Reactive Angular Course (with RxJs)/04 Authentication State Management/026 Authentication State Management - Section Introduction.en.srt
7.4 KB
[TutsNode.com] - Reactive Angular Course (with RxJs)/04 Authentication State Management/027 Authentication Store - Step-By-Step Implementation.en.srt
9.7 KB
[TutsNode.com] - Reactive Angular Course (with RxJs)/04 Authentication State Management/027 Authentication Store - Step-By-Step Implementation.mp4
64.5 MB
[TutsNode.com] - Reactive Angular Course (with RxJs)/04 Authentication State Management/028 Adapting the UI according to the user Authentication status.en.srt
11.1 KB
[TutsNode.com] - Reactive Angular Course (with RxJs)/04 Authentication State Management/028 Adapting the UI according to the user Authentication status.mp4
57.2 MB
[TutsNode.com] - Reactive Angular Course (with RxJs)/04 Authentication State Management/029 Authentication Store - Browser Refresh support with Local Storage.en.srt
11.5 KB
[TutsNode.com] - Reactive Angular Course (with RxJs)/04 Authentication State Management/029 Authentication Store - Browser Refresh support with Local Storage.mp4
[TutsNode.com] - Reactive Angular Course (with RxJs)/06 The Single Data Observable Pattern/034 Consolidation Exercise - Implementing the Course Screen in Reactive Style.en.srt
9.4 KB
[TutsNode.com] - Reactive Angular Course (with RxJs)/06 The Single Data Observable Pattern/034 Consolidation Exercise - Implementing the Course Screen in Reactive Style.mp4
59 MB
[TutsNode.com] - Reactive Angular Course (with RxJs)/06 The Single Data Observable Pattern/035 Course Component Finished - Introduction to the Single Data Observable Pattern.en.srt
6.4 KB
[TutsNode.com] - Reactive Angular Course (with RxJs)/06 The Single Data Observable Pattern/036 Reactive Angular - The Single Data Observable Pattern.en.srt
14.1 KB
[TutsNode.com] - Reactive Angular Course (with RxJs)/06 The Single Data Observable Pattern/036 Reactive Angular - The Single Data Observable Pattern.mp4
80 MB
[TutsNode.com] - Reactive Angular Course (with RxJs)/06 The Single Data Observable Pattern/037 Single Data Observable Pattern - Default Data Values.en.srt
10.9 KB
[TutsNode.com] - Reactive Angular Course (with RxJs)/06 The Single Data Observable Pattern/037 Single Data Observable Pattern - Default Data Values.mp4
62.2 MB
[TutsNode.com] - Reactive Angular Course (with RxJs)/06 The Single Data Observable Pattern/038 Refactoring an Angular Reactive Application to OnPush Change Detection.en.srt
9.9 KB
[TutsNode.com] - Reactive Angular Course (with RxJs)/06 The Single Data Observable Pattern/038 Refactoring an Angular Reactive Application to OnPush Change Detection.mp4
59.3 MB
[TutsNode.com] - Reactive Angular Course (with RxJs)/07 Conclusions and Course Summary/039 Other Courses.en.srt
3.2 KB
[TutsNode.com] - Reactive Angular Course (with RxJs)/07 Conclusions and Course Summary/040 Bonus Lecture Learn More About The Angular University And My YouTube Channel.html