I just spent a couple of hours trying to figure this one out. Here’s how to use the WordPress media library in a plugin or custom post type… the right way.
(more…)
Using WordPress media library in a plugin
Javascript performance testing
‘All roads lead to Rome’ is a saying in Dutch that means there are multiple ways to accomplish the same thing. Very true in real life but maybe even more so in programming. You’d think the fastest code is the best, but a lot of times readability is chosen over speed (or, as in most cases, speed isn’t just that important).
(more…)
JS1k
I saw something on Zite about the js1k competition. Now I’ve never really been into competitions (the last time I even won something was for a drawing contest when I was 13). And these programming things always look like you have to be some kind of l33t demo haxor or something.
unit testing private functions in Javascript
Dynamic bookmarklets (and WebGL)
Whenever I’m up to my neck in work I mostly get utterly bored. So to keep focussed I tend to create these little side projects. Last week I thought I’d create my first bookmarklet using WebGL rendering with Three.js
SFBrowser 3.2.2
I released a new version of SFBrowser containing some minor fixes plus a new CTRL-C feature which copies the full or relative path to your clipboard. Go check out the examples here. You can download or do a repository checkout at Googlecode, or install it as a WordPress plugin.



