Category Archives: javascript

Little jQuery plugin to combine YouTube uploads and favorites feeds

I recently found that I wanted to grab a feed of a YouTube account’s uploads and favorites. Unfortunately, the YouTube API doesn’t offer this by itself, so I’ve made a little jQuery function to do it for you. Use like this: Download from GitHub here: https://gist.github.com/4052752 My first idea for this was to use Yahoo! Pipes […]

International JavaScript show ‘n’ tell @ Async

The Full Frontal JavaScript conference is tomorrow, so this is a very international audience. A bit of a show ‘n’ tell tonight at the fortnightly Async JavaScript meetup, hosted at The Skiff in Brighton… notes below. Links for the talks ought to be added to the Async blog post (http://asyncjs.com/showntell3/) by the speakers. The next […]

JavaScript in the cloud

The idea of running JavaScript on the server has been around for a while now (think Jaxer back in 2008), but it recently got a big boost with the featuring of Node.js at JSConf in November 2009. Node.js found immediate fame by demonstrating blinding performance as a web server, and by building on the hotly hyped V8 JavaScript engine Google bundled […]

Testing Adobe AIR applications with QUnit

I’d like to say I always write tests before I write any JavaScript code… Those times when I do write tests, I use the QUnit framework, which is used to test jQuery, so pretty well-tested itself. I’ve recently been putting together an Adobe AIR application using HTML, CSS and JavaScript (aka Web Standards), which is […]

Online banking with JavaScript – first working thing

I recorded this at Islington Hackspace tonight, figured it would be cool to share visually rather than have a big blag-rant, (see my last post for one of those). It ought to be self-explanatory. I’m thinking about wrapping this up in an iPhone app so I can pay people for free. Rather than use PayPal […]

Notes on migrating an application from AppJet to Smart Platform

I’ve been wingeing quite a lot recently about AppJet’s demise and the shoddy state of potential replacements, and got quite a nice response from Jim Pick at Joyent. I decided today to have a play with their new Smart Platform and had a go at porting one of my AppJet applications over to Smart. Here’s […]

Adapting WireIt to work with independent data stores

I’ve been working during the last fortnight on the “Streams” project, which LShift, an IT consultancy in Shoreditch, are building in conjunction with the BBC. My part in this project has been to prototype the interface that a non-technical person would use to edit and create Streams, which are box-and-wire visual workflows similar to those […]

console.log in Safari doesn’t “apply”. Bad Safari.

It’s not unusual to want to write a cross-browser logging function akin to Firebug’s console.log(). The approach that you would expect to work could quite plausibly be this: We invoke the function with apply here so that implementations that can take multiple arguments receive them. However, this function breaks Safari (at least it does on […]

SproutCore: smart clients, dumb servers

I heard about SproutCore recently, from an enthusiastic client-side web developer. I hadn’t heard about it, which is not entirely unsurprising as it turns out – SproutCore came out of hiding as something of a surprise at the recent Apple Worldwide Developers Conference, as the power behind the slick interfaces for Apple’s new suite of […]

Using Script tags to do remote HTTP calls in Javascript

I’ve been racking my brains all afternoon trying to find a workable solution to the problem of not being able to make remote HTTP calls using javascript. This is an issue for me because so much of my work takes place inside a TiddlyWiki which, when viewed locally (from a file:// url) is a perfect […]