JavaScript Promises - Free Udacity Course
Written by Sue Gee   
Monday, 11 January 2016

There is still free training to be had from Udacity and a recent addition to the catalog covers JavaScript Promises and helps front-end web developers cope with dealing with asynchronous events and working with asynchronous code.

promisebanner

The course has been created in conjunction with Google and the announcement on the Android Developers Blog reads:

We’ve just opened up a online course on Promises, built in collaboration with Udacity. This brief course, which you can finish in about a day, walks you through building an “Exoplanet Explorer” app that reads and displays live data using Promises. You’ll also learn to use the Fetch API and finally kiss XMLHttpRequest goodbye!

Udacity lists it as an Advanced course which can be covered in approximately 3 weeks assuming 6 hours per week, i.e. 18hrs - so if you do it in one sitting you might find it a long day, however as it is free you can spread it out over as long as you need to.

There are just two lessons:

Lesson 1 - Creating Promises

 

  • Why Promises?
  • Promises syntax and scope
  • Simplifying common, useful methods with Promises
  • Basic error handling

promisequiz

 

Lesson 2 - Chaining Promises

 

  • Creating sequences of async work manually
  • Advanced error handling
  • Techniques for generating sequences of async work with array methods

The lessons consist of videos and quizzes. There is also a hands-on project associated with the course, which is introduced at the beginning of the first lesson but crops up mainly in the second one, is an Exoplanet Explorer - which provides scope for plenty of asynchronous event.

The course is linked to the Senior Web Developer Nanodegree, but you don't need to be enrolled in this program to find it of interest. You do need a background in JavaScript including the following skills:

 

  • Using functions to return objects and other functions
  • Basic understanding of scope and closures
  • Reading and writing named and anonymous callbacks
  • Array methods like .forEach and .map

You also need to be familiar with GitHub and command line tools.

 

 

promises

 

 

More Information

JavaScript Promises

 

Related Articles

jQuery, Promises & Deferred

jQuery Promises, Deferred & WebWorkers

Managing Asynchronous Code - Callbacks, Promises & Async/Await

What Is Asynchronous Programming?

Advance Your Career As a Web Developer With Udacity and Google

Become A Web Developer With Udacity

 

 

To be informed about new articles on I Programmer, sign up for our weekly newsletter, subscribe to the RSS feed and follow us on, Twitter, FacebookGoogle+ or Linkedin.

 

Banner


Rust And C++ Should Be Friends?
20/11/2024

The Rust Foundation has just released a statement on Rust and C++ interoperability and Google is ponying up $1 to see that it gets done.



Zitadel Announces Funding And Future Plans
21/11/2024

Zitadel has announced a major funding round that will be used to expand technical teams and fund further product development. The company is the creator of an open source project for cloud-native iden [ ... ]


More News

espbook

 

Comments




or email your comment to: comments@i-programmer.info

Last Updated ( Monday, 11 January 2016 )