ThoughtCraft

Writing & Reflections

Thoughtful writing about systems, stories, frames, and questions. Essays, project notes, and reflections on making, learning, and living with more care and clarity.

Programmatically clear your WP Engine cache

Programmatically clear your WP Engine cache

In my desire to create a better process for building and deploying at Zeek, I recently hit a road bump while trying to perform automatic visual regression testing immediately after deployment.

Read article
New plugin: Seeder

New plugin: Seeder

It's nice to pre-populate terms, content or have the ability to only OCCASIONALLY run actions.

Read article
Fail Early, Fail Often

Fail Early, Fail Often

Make your code simpler to read and simpler to debug by breaking apart your conditional statements and exiting the function whenever possible.

Read article
Developing With Composer

Developing With Composer

Did you know you can not only use Composer to manage dependencies, but actually develop a package alongside your dependencies?

Read article
Git Subtrees - A Primer

Git Subtrees - A Primer

Difficult to modularize code and maintain separate repos. Submodules are difficult or problematic to use.

Read article
Testing a Transient Locking Mechanism with Siege

Testing a Transient Locking Mechanism with Siege

When working with caching strategies, it's important to step through your invalidation strategies. Namely, thinking through at what point does the data that you're caching get regenerated, how does it get regenerated and who is regenerating it.

Read article
Git Bisect

Git Bisect

One of the lowest hanging fruits to learn is how to fix code regressions quickly and easily with `git bisect`

Read article