2010
-
Open Source Decision Making
Dec 31
Jacob Santos says WordPress development isn’t driven by community input. On the one hand, I agree. My own history with WordPress (from hacking core to a first patch that sat for three months) and what has and hasn’t changed.
-
A Quick GPL Overview
Dec 24
What is the GPL? WordPress’ license protects you as a developer, but you need to understand your rights and responsibilities first.
-
Object-Oriented JavaScript
Dec 17
JavaScript is a prototype-based language, not an object-oriented one. When colleagues used to stricter OOP struggled with it, I bent the tool to fit the people: pseudo-classes, private scope and prototype “inheritance,” with JSON and constructor examples.
-
Consider the Source
Dec 10
Someone was distributing Chip Bennett’s WordPress themes with a worm hidden in screenshot.png that installs a PHP backdoor. How it works, and why, free or paid, you should always consider where your download comes from.
-
Why Open Source?
Dec 8
I’ve never taken a computer class. Everything I know, I learned from code others posted for free — so I post mine. The real reward is an email from a stranger on the other side of the world.
-
WordPress XML-RPC — MovableType API
Oct 15
The MovableType half of WordPress’ XML-RPC interface, call by call: what each mt.* method does, the parameters it takes and what it returns — including one that does nothing at all.
-
WordPress XML-RPC – MetaWeblog API
Oct 8
WordPress’ XML-RPC system is built on other people’s APIs, which makes its documentation frustratingly fragmented. A reference for the metaWeblog calls (newPost, editPost, getPost and more) with their parameters and return values.
-
WordPress XML-RPC – Using the API
Sept 24
Turn on remote publishing, point your client at xmlrpc.php rather than the blog URL, and say hello. The basics of sending and receiving data through WordPress’ XML-RPC interface, using its two built-in demo methods.
-
WordPress XML-RPC – An Introduction
Sept 17
You can write to, read and administer a WordPress site from anywhere, through an XML-RPC interface that’s poorly documented and spans five different APIs. The start of a comprehensive guide to all of them.
-
The Dangerous Allure of the GPL
Aug 27
I put GPLv3 on just about everything I wrote for WordPress. Then I realized GPLv3 isn’t compatible with GPLv2 — and that many of us had been violating our own licenses, like stealing your own car by accident.
-
Google Reader – Revisited
Jul 16
Google changed the authentication on its Reader API, breaking my PHP class and upsetting users of my WordPress plug-in. The fix: send the Auth key in an Authorization header instead of an SID cookie. Here’s the updated _getToken() method.
-
JavaScript Event Bus
Jul 9
Decoupled code talks through events, not to other objects. I went looking for a pre-built JavaScript event bus for script events rather than DOM events, found nothing that fit, and wrote my own. Here’s the rough skeleton.