SFEIR Institute, SFEIR InstituteRXJS

RxJS Reactive Programming

2 days / 14h

Course overview

RxJS is a JavaScript a library for composing asynchronous and event-based programs by using observable sequences. Adopted by frameworks like Angular and widely used in the industry, reactive programming has become an essential tool for the web developer or backend. This course is updated for RxJS 6 and covers everything you need to know to think like a reactive programmer and take advantage of the power of RxJS to solve difficult asynchronous problems, using a declarative, functional and reactive approach.

Target audience

  • Understanding the concepts of reactive programming
  • Interpreting Marble Diagrams
  • Implementing the RxJS library and its principal operators
  • Debugging and testing RxJS code

Prerequisites

Developers, integrators, software architects, technical project managers

Course Outline

  • Have taken the JavaScript course: Language fundamentals or have equivalent
  • Basic knowledge of object oriented programming (types, classes, interfaces, …) are not required but will be a big plus to understand the object concepts in TypeScript
  • Basic knowledge of HTML
  1. Introduction to reactive programming
    • The evolution of asynchronous programming
    • Data flow, signals, temporality and the Observer / Observable pattern revisited
    • ReactiveX and the RxJS implementation
    • The basics of RxJS: Observables, observers, subscriptions and operators

Workshops:

  • Manual Implementation of an RxJS development environment
  • Implementation of the Observer / Observable pattern
  • Migrating to RxJS
  1. RxJS Operators
    • The role of operators
    • Marble diagrams
    • Syntax of operators
    • Piping

Workshops:

  • Marble Diagram
  • Piping operators
  1. Creating observables and managing subscriptions
    Creation Operators
    Managing subscriptions
    Workshops:
    Implementation of creation operators: DOM events, Node.js functions, promises, timers
  2. The main operators in detail
    • Decision tree and complete list of operators
    • Transformation operators
    • Filter operators
    • Join operators
    • Error handling operators
    • Utility operators
    • Conditional and booleans operators
    • Mathematical and aggregation operators
    • Multicasting operators

Workshops:

  • Implementation of RxJS operators through use cases of web applications or Node.js
  1. Advanced concept
    • Debugging your code
    • Testing your code
    • Observable Hot vs Cold operators
    • Subject and other multicasting operators
    • Back-pressure handling
    • Scheduler
    • Caching
    • Creating custom observables operators

Workshops:

  • Implementation of advanced concepts

Our training sessions

Place of training :
Dates
10/07/24 Distance Register
16/10/24 Distance Register

Ce cours vous intéresse ?

Place of training :
Dates
10/07/24
Distance Register
16/10/24
Distance Register
1
Inter : 1000 € HT / user

Funding assistance

Organiser une session de Groupe
Demandez un devis
Organize a dedicated session
for your organization
Does your company need a personalized
offer? Contact us