2014
-
Gracefully Handling Too-large Files in PHP
Apr 16
What if a visitor uploads a file that’s too large for your system to handle?
-
You Can’t Go Home
Apr 2
We often leave one place for another, still harboring the hope that we can one day return and pick things up where we left them.
-
JavaScript and Closures
Mar 27
One of the first things I look for when reviewing JavaScript code is the proper use (and isolation) of scope.
-
Understanding Parallel Processing
Feb 17
When I explain to people that I enjoy writing code in C# more than PHP, they scratch their collective heads and, with a quizzical look, always respond, “why?” My biggest reason: I really enjoy working with parallel processing.
-
jQuery Portland – Unit Testing
Jan 16
Last year, I had the opportunity to present at jQuery Portland about unit testing. It was my first non-WordPress speaking event, and it was incredible!
-
Server-side Analytics through Google
Jan 4
Some of the products I build for the web don’t come with a website. But I can still use Google Analytics to track their usage. Thanks to a handy PHP library I found on GitHub, I now have the luxury of tracking the execution of server-side scripts in the same analytics dashboard I use to…
2012
-
The Case for Singletons in WordPress
Dec 28
Several WordPress developers have been discussing the singleton pattern lately. Here’s why I think singletons are actually useful in WordPress.
-
WordPress Plugin Structure
Dec 27
The best plugin development pattern for WordPress is the singleton. Here are three different ways to build a plugin, including a singleton example.
-
WP_Session: A Proposal
Nov 28
WordPress doesn’t support sessions. Here’s my proposal for how that could change.