Asynchronous JavaScript Deep Dive

Asynchronous JavaScript Deep Dive

English | MP4 | AVC 1280×720 | AAC 44KHz 2ch | 5.5 Hours | 2.08 GB

Master Asynchronous JavaScript Patterns; In-depth training on Callbacks, Promises, Async Await, Generators and more.

Effectively working with asynchronous code in JavaScript is an essential skill for anyone working with JavaScript. This course will take you from a beginner or intermediate level to mastering asynchronous JavaScript.

I start with a discussion of asynchronous code in JavaScript and how it compares with synchronous code. We take a look at the event loop and the role it plays in asynchronous JavaScript. We then look at and work with the original asynchronous pattern, the callback. We dive into Promises, and tackle this subject in depth. We then add the async await pattern to the discussion. In the last section we cover generators and how and when they can be used in your code.

I’ve built the instruction with numerous examples. I also provide all the code files so you can follow along and experiment on your own. The course includes 10 exercise and one quiz in order to give you plenty of opportunities to apply the concepts taught.

By taking this course you will be able to:

  • Use callbacks throughout your code.
  • Incorporate and work with promises no matter the source.
  • Use the async await pattern to make your asynchronous code easier to reason about.
  • Incorporate generators when needed.

This is one of the best courses I’ve produced, and I feel is unmatched in its coverage of asynchronous JavaScript. If you are looking to learn this very important topic, I would love to take this journey with you.

What you’ll learn

  • In-depth training on asynchronous JavaScript.
  • Fundamental concepts about asynchronous JavaScript.
  • How asynchronous JavaScript is achieved using the event loop.
  • The ubiquitous callback pattern.
  • Problems we encounter with callbacks.
  • The ins, outs and whys of JavaScript promises.
  • The fetch command.
  • The async await pattern. The new way of handling asynchronous code.
  • Generators and when to use them.
Table of Contents

Introduction
1 Introduction
2 Making the Most of this Course

Understanding Asynchronous Coding
3 Introduction to Asynchronous Coding
4 Synchronous VS Asynchronous
5 Advantages and Disadvantages
6 Understanding the Event Loop
7 The Event Loop Take 2

The Necessity of Callbacks
8 Introduction to Callbacks
9 Understanding JavaScript Callbacks
10 Understanding JavaScript Callbacks Part 2
11 Asynchronous Coding and Callbacks
12 Exercise 0 Start
13 Exercise 0 Finish
14 Problems with JavaScript Callbacks

Promises
15 Promises Introduction
16 Understanding Promises
17 Using Promises Part 1
18 Using Promises Part 2
19 A Quick Overview of Fetch
20 Promise Example 1 Star Wars Data
21 Promise Example 2 JSONPlaceholder
22 Promise Example 3 jQuery
23 REVIEW IFFEs and the Module Pattern
24 Exercise 1 Start
25 Exercise 1 Finish
26 Exercise 2 Start
27 Exercise 2 Finish
28 Creating JavaScript Promises
29 Exercise 3 Start
30 Exercise 3 Finish
31 Follow Up on Exercise 3
32 Using the Finally Method
33 Using the Promise all and race Static Methods
34 Exercise 4 Start
35 Exercise 4 Finish

Async Await
36 Introduction to Async Await
37 Getting Started with Async Await
38 REVIEW The map Method of Arrays
39 Using Async Await
40 REVIEW The filter Method of Arrays
41 Exercise 5 Start
42 Exercise 5 Finish
43 Refactoring jQuery Promise Example try catch for of
44 Follow Up on try catch
45 Refactor JSONPlaceholder Promise Example IIFEs
46 Exercise 6 Start
47 Exercise 6 Finish
48 Exercise 7 Start
49 Exercise 7 Finish
50 Using Promise.all with async await
51 Exercise 8 Start
52 Exercise 8 Finish
53 Careful Coding with async await
54 Using async on Object Methods

Making Use of Generators
55 Introduction to Generators
56 Understanding and Using Generators
57 Generator Example
58 Exercise 9 Start
59 Exercise 9 Finish
60 Using a Generator to Create an Iterator
61 Creating an Iterator Example 2
62 Two-way Communication with Generators

Conclusion
63 Congratulations
64 BONUS Lecture Discounts on Other Courses