Category Archives: JavaScript

Why is serving YUI3 over HTTPS so hard?

Yahoo! don’t have a HTTPS YUI3 endpoint. This means that you have to do some work to serve YUI3 if you want to avoid Internet Explorer users from getting warnings about mixed content (and you do). That work, for me at least, was particularly troublesome. However, I eventually found a simple method for solving the majority of the issues I was having.
Continue reading Why is serving YUI3 over HTTPS so hard?

Pong in HTML5 Canvas and YUI3, with tests!

In case you’re one of my clients, you might be wondering why I’ve been slacking off recently. Here’s why: I’ve been teaching myself ‘grown up’ JavaScript under instruction of Douglas Crockford (in book and video form, obviously). Crockford never mentions Test Driven Development, probably because he doesn’t do it. But I do, so I’ve been learning to do that in JavaScript too.

So here it is, HTML5 Canvas Pong.
Continue reading Pong in HTML5 Canvas and YUI3, with tests!