[Async]: Promises, Promises

An introduction to asynchronous flow control in JavaScript, focussing on jQuery.Deferred

9 February 2012 from 7:15pm to 9:30pm

This session, with Premasagar Rose, is an introduction to asynchronous flow control in JavaScript. We’ll be looking at how to cleanly handle multiple callbacks from Ajax requests, setTimeouts, loading images and other asynchronous routines. In particular, we’ll focus on jQuery.Deferred, which implements the Promises design pattern.

We’ll work through some practical, step-by-step code examples, looking at how jQuery uses promises with all of its Ajax methods, see how they can control and interact with jQuery’s animation effects, and how jQuery.Deferred can be used to create custom promises that control the flow of a website or web application.

Prem is the principal of local web applications company, Dharmafly, is a hacker and mentor at Rewired State, and helps to run Async.

2 speakers

  • @AaronAcerboni

1 session

22 known attendees

  • Paul Hadfield
  • Chris Newton
  • Richard Dallaway
  • Sky Apperley
  • Andy Hume
  • Paul L Ferguson
  • Async
  • Damo
  • Riccardo Tonini
  • Paul Hayes
  • Premasagar Rose
  • Julian Weaver
  • Aron
  • David Andrew
  • James Bradshaw
  • Paul Hazells
  • Alistair Macdonald
  • Thomas Parslow
  • The Skiff
  • Graham Scott
  • Adhip Gupta

5 people tracking this event

  • Tristan Bailey
  • Neil C Ford
  • Luis Abreu
  • Mark Ford
  • Ben Collier

Tell your friends!

Share this event with your friends on Twitter

Topics

Share

Guides

Coverage

1 slide deck

Added 4 years ago

See all coverage

2 items in total

Staff

Related books

  • JavaScript: The Good Parts
  • JavaScript for the World Wide Web, Second Edition (Visual QuickStart Guide)
  • Building Progressive Web Apps: Bringing the Power of Native to the Browser
  • Deliver Audacious Web Apps with Ember 2
  • AngularJs vs EmberJs: a guide to choosing the single page application framework for your project
  • JavaScript For Kids For Dummies (For Dummies (Computers))

See something wrong?

Report an issue with this event