Learning JavaScript Promises: Practical Applications in ES6 and AngularJS

Learning JavaScript Promises: Practical Applications in ES6 and AngularJS
Seasons

October 29, 2015
Given a list of tasks, we need to know as soon as a single one of them is complete Promise.all allowed us to wait for all.
Watch Learning JavaScript Promises: Practical Applications in ES6 and AngularJS Season 1 Episode 20 Now

October 29, 2015
Most older JavaScript libraries deal exclusively in events when handling asynchronous processes. Here, we will compare the pros and cons of each.
Watch Learning JavaScript Promises: Practical Applications in ES6 and AngularJS Season 1 Episode 19 Now

October 29, 2015
As we will show in an example, not returning any value within a .catch can lead to unexpected behavior.
Watch Learning JavaScript Promises: Practical Applications in ES6 and AngularJS Season 1 Episode 18 Now

October 29, 2015
When a function needs to return a promise, for example, a service that's returning to a controller, but the return value is not guaranteed to be a promise, $q.when can be used to ensure that the return is indeed a promise.
Watch Learning JavaScript Promises: Practical Applications in ES6 and AngularJS Season 1 Episode 17 Now

October 29, 2015
In some cases, we do not know how many times a particular asynchronous task is expected to be run before stopping it. Using promises, we will be able to handle "n" tasks in a series.
Watch Learning JavaScript Promises: Practical Applications in ES6 and AngularJS Season 1 Episode 16 Now

October 29, 2015
Sometimes, several tasks need to be completed before a process can move on. A solution to this issue is to complete them one after the other.
Watch Learning JavaScript Promises: Practical Applications in ES6 and AngularJS Season 1 Episode 15 Now

October 29, 2015
More than one action is needed and wherever possible, it is better to complete these actions in parallel without having to wait for the other to complete. We will use two API calls and display data in a simple case where the calls are independent of each other.
Watch Learning JavaScript Promises: Practical Applications in ES6 and AngularJS Season 1 Episode 14 Now

October 29, 2015
In the same vein as the previous video, this will cover cases where a certain block of a process needs to be transformed from a failure into a success. Promises allow us to do this by returning anything but a rejected promise.
Watch Learning JavaScript Promises: Practical Applications in ES6 and AngularJS Season 1 Episode 13 Now

October 29, 2015
When abstracting processes in general and not only asynchronous ones, we make an assumption as to what successes and what failures are. Promises make it very easy to switch from a success to a failure in the next promise, and we will learn how to accomplish this.
Watch Learning JavaScript Promises: Practical Applications in ES6 and AngularJS Season 1 Episode 12 Now

October 29, 2015
Promises that represent one action resolve with a certain value. This value may be suitable for one flow, but not for another.
Watch Learning JavaScript Promises: Practical Applications in ES6 and AngularJS Season 1 Episode 11 Now

October 29, 2015
JavaScript applications are becoming more powerful and complex, and so are corresponding asynchronous flows. Promises help controlling such flows by using chaining, which not only allows to run processes one after the other but also to alter the value that comes out of the fulfillment of this, or even the success or failure path taken by the promise.
Watch Learning JavaScript Promises: Practical Applications in ES6 and AngularJS Season 1 Episode 10 Now

October 29, 2015
Angular 2 is coming and has everyone guessing with its breaking changes and new features. We will review where promises stand in that major overhaul.
Watch Learning JavaScript Promises: Practical Applications in ES6 and AngularJS Season 1 Episode 9 Now

October 29, 2015
A lot of processes will need to conduct more than one task upon completion of an action. Although promises are strongly single-chance and single-value, when it comes to the callbacks, developers can add as many as they want, even after the promise has been settled, and, thus, allow for several actions to be added from various parts of an application.
Watch Learning JavaScript Promises: Practical Applications in ES6 and AngularJS Season 1 Episode 8 Now

October 29, 2015
Some processes and flows require repeated information to be passed at unexpected times. Other flows, though of an unknown duration, expect their outcome to be final.
Watch Learning JavaScript Promises: Practical Applications in ES6 and AngularJS Season 1 Episode 7 Now

October 29, 2015
Asynchronous process flows that are handled by promises are all about clarity of code and outcomes. Here, we will learn about various ways to set callbacks for each case are success only, failure only, both success and failure.
Watch Learning JavaScript Promises: Practical Applications in ES6 and AngularJS Season 1 Episode 6 Now

October 29, 2015
Promises allow us to code parts of an asynchronous flow. Flows rarely follow a single direction; there are cases where things go awry.
Watch Learning JavaScript Promises: Practical Applications in ES6 and AngularJS Season 1 Episode 5 Now

October 29, 2015
Promises have become so popular that the new iteration of JavaScript ES6 implements them. This implementation is slightly different than the Angular $q service.
Watch Learning JavaScript Promises: Practical Applications in ES6 and AngularJS Season 1 Episode 4 Now

October 29, 2015
Some services ($http) return promise objects when called, but other processes do not. Often, a developer will need to create their own asynchronous process, such as waiting for some user interactions or the completion of a navigator action.
Watch Learning JavaScript Promises: Practical Applications in ES6 and AngularJS Season 1 Episode 3 Now

October 29, 2015
Many processes in JavaScript are asynchronous and, thus, can be confusing for developers whose experience is mostly synchronous. Promise objects allow for a clear way to handle such processes.
Watch Learning JavaScript Promises: Practical Applications in ES6 and AngularJS Season 1 Episode 2 Now

October 29, 2015
This video will offer an overview of the course.
Watch Learning JavaScript Promises: Practical Applications in ES6 and AngularJS Season 1 Episode 1 Now
Learning JavaScript Promises: Practical Applications in ES6 and AngularJS is a series categorized as a new series. Spanning 1 seasons with a total of 20 episodes, the show debuted on 2015. The series has earned no reviews from both critics and viewers.
How to Watch Learning JavaScript Promises: Practical Applications in ES6 and AngularJS
How can I watch Learning JavaScript Promises: Practical Applications in ES6 and AngularJS online? Learning JavaScript Promises: Practical Applications in ES6 and AngularJS is available on Packt Publishing with seasons and full episodes. You can also watch Learning JavaScript Promises: Practical Applications in ES6 and AngularJS on demand at Prime Video online.
Channel
Packt Publishing
Cast
Mathieu Chauvinc
Channel
Packt Publishing
Cast
Mathieu Chauvinc
Stream shows like Learning JavaScript Promises: Practical Applications in ES6 and AngularJS
Top TV Shows
Also on Packt Publishing