Async:

A JavaScript meetup for Brighton & Hove

This Event

Promises, Promises on Lanyrd

Presented by Premasagar RoseAaron Acerboni.  

@ The Skiff 6 Gloucester Street, Brighton, BN1 4EW Map of The Skiff
Last by James Jordan, on Flickr

This session, with Premasagar Rose and Aaron Acerboni, 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. Aaron is currently studying Digital Media Development at Brighton University.

Update: slides & demos online

The slides can be viewed at http://promisespromises.dharmafly.com{: data-slides=""}. The example demos are listed in the slides. The code repository for the slides and demos are on GitHub.

Previous Event:

View all events

Following Event:

View all events

About:

Async meets monthly in Brighton & Hove, UK, to learn, discuss and play with JavaScript and related technologies.

We host talks, hack nights, show n' tells and community events, all of which are free.

Doors open 7.15pm, main session begins 7.45pm, we end around 9.30pm and continue nearby for an evening social.