Deferrables

Imagine, if you will, some JavaScript models that look something like this: function User (…) { // initialise user } User.fromId = function (id, cb) { // 'returns' an error, or a User db.find(…, cb); } User.prototype.getGroups = function (cb) { // 'returns' an error, or an array of Groups db.find(…, cb); } function Group…

Continue →

Full Frontal 2013

I have, unfortunately, long been put off by conferences. It’s mostly my fault (if you can blame anyone), but put off I am. However, Full Frontal is about as good as it gets for one-day, high-intensity web events, and one I am glad to be able to take part in. This largely comes down to…

Continue →

Just One Thing

Unless you’ve really been hiding under a rock for the past couple of years, you’ll probably have noticed that there’s been a lot of focus on encouraging the wider population, and children in particular, to think about programming and computer science1 as a bigger, more central part of their lives. A whole host of initiatives…

Continue →

Finding the fucking passion

I’m regularly tempted to submit talks to conferences, of varying sizes. But I’m still yet to actually do it. I’m not quite sure why the temptation lingers, or indeed where it came from; it might just be an unconscious desire for ultimate validation, or just that it seems to be the natural direction to go…

Continue →

<noscript>

When I was but a fledgling web developer, JavaScript was a toy; a little bit of DOM manipulation (or DHTML, if you will) was about as good as it got. It certainly wasn’t being used to make full-blown client-side (or indeed server-side! 1) applications, and if you told someone you were going to generate all…

Continue →

A little journey into touch events and transitions

I’ve been doing a bit of R&D into some badge-related mobile stuff, and playing with touch events to get some swipe-like behaviour. While this is more of a gripe than a tutorial, I’ll go through the process anyway, for those of you following along at home. First things first, we have to listen for a…

Continue →

Feeling old

For a very short time in my life, I held a World Record; I was the youngest person on the planet. Thirty years later, and I feel like I’m close to retiring; not just because I’m officially old, but because I’ve become increasingly cynical about the industry that I love, and struggle to see anything…

Continue →

Having a little faith

I’ve deleted and/or ‘filed’ way more articles than I’ve published over the three months since I bothered to sort this blog thing out. I’m guessing that’s mostly because I’m incredibly insecure, and never happy with anything. But to some degree, it’s because I forgot who I was writing for. Getting too caught up in an…

Continue →

Hey Presto…

These are, as with everything else, my own points of view. I’d have them even if I didn’t work for Mozilla. I don’t have anything to do with the Firefox team, anyway. If you’re a web developer, it’s highly unlikely that you’ve not heard the news that Opera is ditching Presto in favour of WebKit….

Continue →

Expanding your toolset

The world of web development is growing at an ever-increasing rate, and every week I read a blog post or an email exclaiming how it’s such a struggle to keep on top of it all. It’s not hard to find a similar number of articles telling us how to go about staying up to date,…

Continue →