The If Works This dirt was a building before

Archive for February 2010

Evented programming patterns: Round-up

This post is part of a series on event-driven programming. The complete series is: Events: they’re not just for the DOM, you know Observable objects Deferrable values Asynchronous methods Round-up and final remarks Over the last few articles, I’ve covered a few of the evented programming patterns I use most often. It’s by no means [...]

Evented programming patterns: Asynchronous methods

This post is part of a series on event-driven programming. The complete series is: Events: they’re not just for the DOM, you know Observable objects Deferrable values Asynchronous methods Round-up and final remarks Building on the pattern for deferred processing that we just saw, asynchronous methods are typically used to return a value from a [...]

Evented programming patterns: Deferrable values

This post is part of a series on event-driven programming. The complete series is: Events: they’re not just for the DOM, you know Observable objects Deferrable values Asynchronous methods Round-up and final remarks The Deferrable pattern is a specialisation of observable objects that mixes state into the event dispatch process. The goal is to encapsulate [...]

Evented programming patterns: Observable objects

This post is part of a series on event-driven programming. The complete series is: Events: they’re not just for the DOM, you know Observable objects Deferrable values Asynchronous methods Round-up and final remarks As I mentioned in the previous article, events are not things that only live in the DOM. An event is simply a [...]

Events: they’re not just for the DOM, you know

This post is part of a series on event-driven programming. The complete series is: Events: they’re not just for the DOM, you know Observable objects Deferrable values Asynchronous methods Round-up and final remarks Over recent months we’ve seen the major JavaScript libraries talking up their event support. Back in October Luke Smith spoke about the [...]

Faye: a Comet client and server for Node.js and Rack

I’m doing my traditional birthday software announcement a little early this year, mostly because I really want to get this out and partly because I’m doing a lot of little bits of work on old projects at the moment and this is the only fancy new thing I’ve got to show. Spurred on by the [...]