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


Pure Virtual C++ 2024 Sessions Announced
19/04/2024

Microsoft has announced the sessions for Pure Virtual C++ 2024, which is taking place on April 30th 15:00 UTC. People who sign up will get access to five sessions happening on the day, alongside a ran [ ... ]



NVIDIA Releases Free Courses On AI
19/04/2024

NVIDIA has jumped on the AI bandwagon in a big way. Hardware aside, this means working on training material too. Several self- paced courses have been released and for free too!


More News

raspberry pi books

 

Comments




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

Last Updated ( Monday, 11 January 2016 )