archive

POPP Diary #1

A diary for work on the new edition of PHP Objects Patterns, and Practice. Week #1: Firing up vagrant, fixing my tests, finagaling dependencies, building PHP...

Day 25 – What next?

I am writing this having eaten far too much (the time of writing being Christmas day and this being the final ‘window’ in an advent series of twenty-five for...

Day twenty – check in

Client work largely ate the day today leaving little time for the site reboot or for this blog. Nevertheless, I have been chucking bits of content at WordP...

A Nineteenth Day Check In

Just a check-in today. I have been roughing out content and playing with layouts – some issues with getting Bootstrap plugins to play nice with Twenty Sevent...

A Quick Check In on Migration

More a report than an article today. I am beginning to think about working with some real content at last. To that end, I have been experimenting with vari...

Child Themes the Easy (CLI) Way

After yesterday’s post, I received some correspondence (AKA tweets) from @tomcoady. He pointed me to the WordPress codex documentation on child themes whic...

Creating a Basic Child Theme

Hello from Brussels. The Christmas market is in full swing here and I am stuffed with tartiflette and waffle – with beer to come I hope. Amidst the bustle,...

Twenty Seventeen – a Thin Post

Today my team and I launched a new iteration of a client’s product. Always something of a white-knuckle ride. Available time for diving into anything but t...

The Dance of the Themes

Today, things begin to get a bit more real. It’s time to choose a theme. Or at least to kick off the process. This stage is always problematic for me – par...

Day 2: Directory Structure

For today’s window, I’m going to organise my directories. This is one of those deceptive choices that seems trivial at first blush, but can bite you hard lat...

Day 1: The Decision to Act

So this week I finally delivered the proof corrections for edition five of PHP Objects Patterns and Practice and inevitably my thoughts turned to blogging ...

Back to Top ↑

Foundations

Do one thing at a time

Is your code trying to do too much? Dramatically improve the design of your system by focusing each component on a single responsibility.

Back to Top ↑

Tools

A PHP Enum class

Here’s one approach that addresses the current lack of a native PHP enum class. An Enum type allows you to define and enforce a limited set of values, and...

Back to Top ↑

Python for PHP Programmers

Back to Top ↑

News\Misc

Can Code be Art?

Where is the beauty in beautiful code? Can code be art or even poetry? Let’s kick that around a little.

A standing desk

Coders and writers are a sedentary bunch by and large. Because I’m both, I probably get a double dose of sitting around. Apparently sitting is the new smokin...

Hello world! (Inevitably)

This is the inevitable test post for this soft-launched iteration of Matt Zandstra’s getinstance() site. It’s all a bit bare bones round here at the moment ...

Back to Top ↑

Design

Back to Top ↑