Async:

A Web Tech Meetup for Brighton & Hove

This Event

An Introduction to JavaScript Events on Lanyrd

@ The Skiff 6 Gloucester Street, Brighton, BN1 4EW Map of The Skiff
Green Light by Stephan Geyer, on Flickr

Events, also known as the publish/subscribe pattern, are a common idiom used throughout JavaScript. They are used to notify other objects about changes that may be acted upon (such as the browser events "click", "load" and "submit") and work very well with the asynchronous nature of JavaScript. They are a useful coding pattern to help keep JavaScript objects modular, reusable and easily extensible.

In this session, Aron Carroll will take us through examples of event usage in the wild, such as the DOM's .addEventListener() and jQuery's .ajax() methods. We will then look at building a simple example using jQuery to handle the events, and finish up with an overview of other libraries that could be used in our own code.

Previous Event:

View all events

Following Event:

View all events

Async meets monthly in Brighton & Hove, UK, to learn, discuss and play with JavaScript and related web 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.