Software Engineering in Web Development, Backend Services, and More

Category: Articles (Page 81 of 258)

Personal opinions and how-to’s that I’ve written both here and as contributions to other blogs.

Libraries for WordPress Plugins, Part 1

The more you work with WordPress, especially if you employ tools like Composer and the like, the more you’re likely going to find certain libraries, tools, and similar things that form the foundation of projects on which you work.

Sometimes you may find them when looking through other people’s code, maybe you’ll find them when browsing GitHub, or maybe someone you work with will suggest a library (or a few) depending on a project.

Personally, I’ve had the experience of all of the above, and the more I work on building solutions for myself or others, the more I find myself setting up the same foundation for each project (which is typically a plugin of some sort).

Continue reading

Should We Let Tools Dictate Our Projects?

Does it make sense to use a different development stack or set of tools depending on the type of project you’re using even if it’s built on WordPress?

To give a little more context, I’ve written both about using tools like CodeKit (that bundles a variety of tools together to help streamline development).

Let Tools Dictate Your Project: CodeKit

And I’ve also talked about using things like CircleCI which are used in more enterprise-grade environments (but work just fine for smaller projects, too).

Let Tools Dictate Your Project: CircleCI

So when it comes to working on something alone or with a team, what’s the best thing to do?

Continue reading

Members Only: How It’s Going to Work

A few weeks ago, I disabled comments (and talked about it a little bit) in preparation for the upcoming re-design and membership feature (or features?) of what I hope to accomplish with the site.

Members Only with Restrict Content Pro

Arguably the best way to setup a Members Only site in WordPress.

Though it’s still a little bit of time before September (which is when I’m planning to launch it all), I thought it might be a good idea to go ahead and cover how the site will function, what it’ll include for members only, what it’ll include for everyone and all of that fun stuff.

Continue reading

Fix Valet, WordPress, Ajax, Bad Gateway

Some time ago, I went back to using Valet for local development, and I’ve been happy with it since. Up until sometime last week, I’d yet to run into any problems.

Fix Valet, WordPress, Ajax, Bad Gateway: Valet

But when working on a WordPress plugin that imports data using admin-ajax, I kept getting a curious message in the console no matter how large or small the data was. Specifically, I was getting an error about “502 (Bad Gateway).”

The server, while acting as a gateway or proxy, received an invalid response from an inbound server it accessed while attempting to fulfill the request.

And if you try to diagnose it based on that definition, you won’t get very far. It’s not that it’s wrong, but it’s that you need to modify your server configuration.

Luckily, it’s easy. Or it’s likely easy.

Continue reading

WordPress-Focused Continuous Integration with CircleCI

Writing about continuous integration or continuous deployments seems a little funny to me given that I’ve done this before and given that I know a lot of developers already use this as part of their day-to-day.

But I also know that there are a lot of hobbyists, beginners, and those who are just starting out who are looking for ways to make sure they are setting up solid practices for their work.

For what it’s worth, it wasn’t until I started working with a few more people that we began to incorporate a wider set of tools in our deployment process.

And that’s the purpose of this post.

That is:

  1. introduce the whole idea behind WordPress-focused continuous integration,
  2. introducing CircleCI,
  3. getting ready to chat more about it.

With that said, here’s the run down on all of the above.

Continue reading

« Older posts Newer posts »

© 2026 Tom McFarlin

Theme by Anders NorenUp ↑