Software Engineering in WordPress, PHP, and Backend Development

Author: Tom (Page 37 of 427)

Awesome WP-CLI: A First-Rate Starting Place

One of the more challenging aspects of working with WordPress is working the fragmented nature of documentation. And I don’t necessarily mean the Codex nor do I mean the Developer Resources.

But I mean the fact that there’s a ton of information spread across blogs (mine not exempt), subreddits, questions and answers on Stack Exchange, and shares via Twitter, and so on.

I’m not making a case that this is inherently bad or good but I am making the case that when given the opportunity to provide a central repository of information for a feature, set of APIs, or tools that it can be extremely helpful especially if it’s written an maintained by the author of something like one of the aforementioned issues.

Case in point: WP-CLI and Alain Schlesser.

Continue reading

Building Assets, Merging Git Branches, and Creating Releases

Everyone has a different git workflow set up but for the purposes of this post, assume that you’ve got something like the following:

  1. A branch in which all of your assets, unbuilt, reside.
  2. A system of continuous integration that builds the assets and creates a new branch or perhaps a new version.
  3. A branch that’s created by the continuous integration system that contains the built assets.

The main component of this workflow is the continuous integration system. That is, if it fails, then the work responsible for building the assets and creating a new branch no longer work.

And when that happens, we’re left having to do it manually. It’s tedious, sure, but not difficult. If you find yourself in this position, here’s how you can go about building assets, merging git branches, and creating a versioned release.

Continue reading

The Must-Haves of Our Skillset

When I decided that I was going to commit the journey of my career to building solutions on WordPress, I was – at the time – all in. That is to say that HTML, CSS, JavaScript, PHP, and MySQL were at a place where I could stay involved with all of them and work competently down the stack as needed for whatever it is I was building.

But as both my family [and I] have grown and as WordPress has changed over the past half-decade (let alone decade), that entire perspective has changed.

Not just that, though.

Continue reading

Dracula Pro For Optimizing Optimizing Dark Mode

A few months ago, I reluctantly started to try out using the dark theme that comes with macOS and iOS. I’d already been using a similar theme in my IDE and my terminal, so why not take the plunge for the whole experience across the OS?

Like anything new, it took some getting used to but it’s definitely grown on me up to the point where I spent time looking for something that would allow me to really tweak the tools I used the most to make sure that I’m actually enjoying the day-to-day work that I do.

And that’s where Dracula, hat tip to my colleague Mike England, really got the ball rolling for me.

Continue reading

Quick Tip: Fix Library Not Loaded for Node

If you’ve installed Node via Homebrew and, at any point, are trying to execute a shell script to start up a containerized environment (or maybe something else – I’m speaking solely from my experience) and you’re presented with this message or something like it:

dyld: Library not loaded: /usr/local/opt/icu4c/lib/libicui18n.64.dylib
  Referenced from: /usr/local/bin/node
  Reason: image not found
Continue reading
« Older posts Newer posts »

© 2025 Tom McFarlin

Theme by Anders NorenUp ↑