Don’t Repeat Yourself. Use WP Lib Loader instead!

I’m a huge fan of the DRY (Don’t repeat yourself) school of thought, and doing a thing once, and doing it well. Because of this, if I sense there’s any chance the code I’m writing is something that… Read More

Loading the Optimal WordPress Object Cache Implementation

On the webdevstudios blog, I wrote about wrangling your object-cache.php file. Check it out.

Better Javascript, a WDSLunch presentation

In March, I (re)presented on some of the fundamentals of writing better javascript for an internal WDSLunch presentation. The slides contain a ton of useful info and are an accumulation of a lot of tips & tricks I’ve learned along the way. I definitely recommend checking them out. The two resource slides at the end are gold. dsgnwrks.pro/wdslunch-better-javascript

WP_Error vs PHP Exceptions in WordPress

So today, I instigated a lively discussion on the topic of WP_Error vs PHP Exceptions. I’m curious why try/catch exceptions are rarely used in WP dev? Any insight? — Justin Sternberg (@Jtsternberg) April 2, 2015 A great deal… Read More

Using Class Autoloaders (in WordPress?!)

The other day, I tweeted out that I believe there is hesitancy in the WordPress world to use autoloaders. Don’t believe me? I feel like there’s hesitancy in the WP world w/ autoloaders. spl_autoload_register is your friend. Namespaces… Read More