Spotlight Front-End

2014-11-29 00:00:00 2014-11-30 00:00:00 America/Toronto Spotlight Front-End   7 of our top speakers. All new presentations After the recent success of Web Unleashed 2014, we invited back some of the most popular and highly rated speakers to present at this special Spotlight event. Each of our speakers will be presenting BRAND NEW PRESENTATIONS… Toronto FITC Toronto

Presentation


Overview

Promises are an important abstraction for dealing with asynchronicity and uncertainty in JavaScript. Heavy reliance on promises makes it possible to simplify JavaScript architecture, by allowing components to not worry about the state of operations that may or may not have completed. The talk will consider advantages of promises-based architecture over the use of callbacks and publish-subscribe approaches.

Objective

Understand how promises can simplify design.

Target Audience

Intermediate to advanced JavaScript developers.

Assumed Audience Knowledge

Good understanding of the use of callbacks in JavaScript or basic familiarity with promises.

Five things audience members will learn

  1. The key differences between promises and callbacks.
  2. How to use promises to simplify architecture.
  3. How to handle errors in promises.
  4. How to test promise-based code.
  5. When to use promises vs publish-subscribe channels.