Software Engineering in WordPress, PHP, and Backend Development

Tag: WordPress (Page 53 of 219)

Articles, tips, and resources for WordPress-based development.

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

WordPress Blogs You Follow Regularly…?

This weekend, I got a message from a fellow WordPress-developer whom I highly respect. In the note, Mario asked:

I was curious, do you follow other WP bloggers or have a go-to list for people still actively writing?

Which is a good question because, to be honest, there aren’t that many people I know in WordPress who blog regularly.

WordPress Blogs You Follow Regularly (If Any)

This isn’t to say there aren’t a lot of people in WordPress who are active on Twitter or actively sharing their stuff on other channels like GitHub, Slack, newsletters, etc., but there aren’t many people who are actively writing on their blogs.

And maybe it’s weird, maybe it’s not, but I’d assume that those involved in WordPress development of some sort would occasionally write on some place on the web.

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

« Older posts Newer posts »

© 2025 Tom McFarlin

Theme by Anders NorenUp ↑