Tag Archives: development

Load JQuery from Google’s CDN with local fallback in WordPress

The advantages of loading scripts from Google’s CDN are fairly obvious – for a common script such as jQuery, we’re on to a better-than-even chance that the user will already have the script in their browser’s cache from other sites, … Read more…

Posted in WordPress | Tagged , , , , | 3 Comments

Setting up the Perfect Web Development Environment, Part 2

Setting up a Portable Project In Part 1 of this guide, we covered how to set up a portable development environment with the basic set of software tools (a web stack, an IDE and a good text editor). Continuing on, … Read more…

Posted in code | Tagged , , , , | 2 Comments

Setting up the Perfect Web Development Environment, Part 1

Inspired by Elliot Jay Stocks’ recent posts on his iMac plus Air setup, I thought I’d document how to set up a seamless development environment between desktop and laptop. If you intend to set up a similar environment, you’ll need … Read more…

Posted in code | Tagged , , , , , | 2 Comments

WordPress Multisite table hell

With the release of WordPress 3.0, the multisite functionality of WPMU was rolled into the main WordPress codebase. Before this, I hadn’t done any work with WPMU, so I was utterly dumbfounded to discover that when adding a new site … Read more…

Posted in WordPress | Tagged , | Leave a comment

The Real WTF is…

If you’ve never read The Daily WTF, it’s a fantastic site run by Alex Papadimoulis highlighting the horrors that readers have found and submitted in real production code. Reading it is a heady blend of “oops, I used to do … Read more…

Posted in code | Tagged , , , , | Leave a comment

Installing and Configuring SVNServe and TortoiseSVN on Windows

After you’ve been working with code for a while, source control is a godsend. It provides a way of tracking changes, prevents conflicts and generally saves your bacon. Here’s how to set it up on Windows 7.

Posted in code | Tagged , , , , | 18 Comments

Mistyped URL? Duplicate content? .htaccess and mod_rewrite to the rescue

It’s been a while since I’ve posted, so I thought I’d jot down a couple of ways Apache and mod_rewrite can save your life. Not literally of course, unless your website’s been linked to your life-support system by a crazed … Read more…

Posted in Apache | Tagged , , , , | 7 Comments

On the Importance of a Coding Standard

mail() fail I was recently called upon to troubleshoot the mail script powering a website’s contact form, which for some reason unbeknownst to anyone was failing silently. It should’ve been an easy fix, but the more I dug into it, … Read more…

Posted in PHP | Tagged , , , , , | Leave a comment