Random thoughts on web development

Pre Commit Hook Wishlist: What my future code review process will look like

Inspired by this handy gist I’m going to take a moment and get my thoughts on paper about what my pre-commit hook of tomorrow will...

Read the rest of this entry »

Code smells notetaking from Refactoring:Ruby Edition

I’m reading through the Ruby Edition of Kent Beck, Martin Fowler, Shane Harvie and Jay Fields’ Refactoring book and loving it. Took a cue from...

Read the rest of this entry »

Please stop breaking my github profile

Update Thanks to coverband and David Coallier for promptly addressing this. tl;dr - If you’re going to scrape my data, make sure your error messages...

Read the rest of this entry »

On rewrites and backwards compatibility

Today I am wrapping up a major rewrite for Streetwise Media, using our new MVC framework. I found myself making tweaks to the current codebase...

Read the rest of this entry »

PHP continue param and a blogging promise

I’m setting a personal goal to post something every day. No promises on quality, or content, but something, no matter what. Today I spent some...

Read the rest of this entry »

djax: dynamic pjax for complex layouts

I think pjax is one of the coolest things out there, and I’ve been looking for excuses to use it since I first saw it...

Read the rest of this entry »

WP Single Use Keys - the last time I will code expiring links in WP

Single use links seem to come up over and over, as do expiring links. I personally have written the code at least twice in the...

Read the rest of this entry »

do_allowed_shortcodes when you need some specifics

We’ve got two levels of public facing content submission. One is for any registered user, which obviously is protected by a heavy duty captcha, and...

Read the rest of this entry »

Implementing a loose MVC structure in WordPress

Over at Streetwise Media we’ve been doing quite a bit of custom code on our Multisite installation of WordPress. In order to keep things DRY...

Read the rest of this entry »

Hello Jekyll

Just getting set up on Jekyll. Funny as a full time WordPress developer, I finally have the motivation to run a blog off a different...

Read the rest of this entry »