Software Engineering in WordPress, PHP, and Backend Development

Author: Tom (Page 175 of 428)

Quality Code and Bloat in WordPress Projects

Quality Code and Bloat are two topics that I see a lot of developers either discussing and/or mentioning on the landing pages of their project pages.

I think the conversation around quality code is something that should always be happening. We should always be aiming to get better at what we’re doing, there is always someone who can help us, and there is always someone we can help.

It’s not that I think bloat is something we should accept, nor is it something that I think we should settle for in our projects (or those to which we contribute for that matter). But does it have as an objective definition as quality code?

It’s important to define clearly quality code and bloat as it relates to you, your team, and the solutions you’re providing for others. And I think this is true if you’re working for yourself, in a shop, for an agency, or even as a hobby and you’re building solutions for other people.

Continue reading

Loading WordPress Tries to Download a File

Over the past few weeks, I’ve had a few clients contact me saying that their website won’t load. Instead, their current installation of WordPress tries to download a file whenever they access their site.

This doesn’t matter if you try to access wp-login.php, /wp-admin, or any of the usual directories. Further, if you look at the permissions on each of the files, everything looks in order.

WordPress File Permission Scheme

On top of that, there are no suspicious (read: malicious) files in place that would be redirecting a user’s request or anything like that.

So what gives?

Continue reading

How to Get Started With WordPress

For those who have been working with WordPress for some time, it’s easy to forget how to explain to others how to get started with WordPress.

That is, we take for granted what it’s like to set up a web server, database, PHP, install the software, find a theme, and install a few plugins. And I know: None of that has much to do with development, per se, but it can be a gateway drug for many.

I know more than a handful of WordPress developers who got started by just installing the software, writing a few posts, and finding out what it could do.

In an attempt to revisit the basics and help usher in a new class of people who may end up contributing to the community, I’ve written a series of posts geared directly to people like that.

Continue reading

Scaling WordPress (And Doing It Right)

Scaling WordPress is a hot topic among developers.

For some, it’s just something you do through a variety of tools and practices that you learn over time. For others who are involved with development in other languages, it’s a fool’s errand.

As far as I’m concerned, WordPress does scale though it takes some strategies to get it to work (such as a proper use of transients, caching, etc.). But there are varying degrees of what it means “to scale,” right?

That is, depending on how many users you have, the type of content you’re serving, the level of demand your site has based on the interaction of the visitors, and some other factors will all contribute to whether or not your site is going to scale.

But if we’re working on a larger project and we know it’s going to need to scale, how do we know we’re doing everything correctly?

Continue reading

Writing Beautiful Code in WordPress

Writing beautiful code in WordPress is a topic that any programmer, at some point in his or her career, is going to consider. I say this if for no other reason because it’s something that’s almost a right of passage for any programmer.

When it comes to writing code, there are some who get into it because they have a real love for solving problems using computers. Others get into it for others reasons. Maybe it’s because someone urged them to do so, maybe it’s because technology is going to continue to be ever present in our lives.

If you’re of the former, then I think your appreciation for code isn’t as high as for those who get into it for a different reason. I’m not trying to generalize, but I’m speaking from observation.

So anyway, when it comes to writing beautiful code in WordPress, how do we even go about doing that?

Continue reading

« Older posts Newer posts »

© 2025 Tom McFarlin

Theme by Anders NorenUp ↑