Software Engineering in WordPress, PHP, and Backend Development

Category: Articles (Page 120 of 258)

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

The WordPress Framework (It’s Not a Framework)

Those who are heavily involved in development of WordPress often times refer to “the WordPress framework” or “WordPress as a framework.” Perhaps you’ve heard this – it’s used in terms of building sites and creating blogs and things like that.

And I try not to be too pedantic about terms, jargon, and so on but there are times where I think it’s important to distinguish the terms that we’re using.

Conan O'Brien

I mean, who wants to be the person sitting there with their pointy-rimmed glasses far down on the bridge of their nose, pushing them up slightly, pointing into the air, and with as much of a nasal voice as possible, saying:

That’s not really true.

But I’ll be that person (except I don’t wear glasses and I don’t have a nasal voice).

Continue reading

A Simple Class For Ajax in WordPress

Ajax in WordPress is something I’ve discussed a few times on this site. For example, I’ve touched on:

But you know how it goes: Over time, things change. WordPress matures, we grow as developers, and techniques and methods that we might have used yesterday (or last year) aren’t necessarily the best way to achieve the same thing as today.

Ajax in WordPress

And Ajax in WordPress is one of those things. Although the actual API may still be the same, the way in which we can build object-oriented solutions that communicate with it can be refined a bit more (at least in contrast to what I used to do).

Continue reading

Running a Business Amidst Changing Technology

Whenever I have the opportunity to speak at an event, I always try to cover the events, any slides, any footage, and any other material related to the event in my speaking category.

Sometimes, though, I’ll write an article on another property that spends more time diving into a talk or a presentation that I gave in an attempt to help reach people through a site with a larger audience.

And it in a recent post for Envato, I did exactly that. Specifically, I did a deeper dive into my WordCamp San Diego speech on what it means to focus on running a business while keeping up with changing technology.

Continue reading

Bootstrapping JavaScript Files in WordPress

We talk a lot about the idea of having bootstrap files in WordPress plugins, which I think are great, but we seem to limit it to those files that are responsible just for starting our WordPress plugins.

Bootstrap JavaScript File

This isn’t exactly what I meant, but I dig the picture.

I mean, hooking into plugins_loaded and then instantiating some classes, setting up a service registry, or things like that are important. But what about other components that make up our plugins?

And by that, I mean what about our JavaScript files? Should they have their way to be bootstrapped?

Continue reading

Displaying Custom Messages in WordPress, Part 1

When working with the Settings API (or any other API that handles options, serialization, validation, and page redirections), dealing with custom messages in WordPress isn’t something that we typically have to worry about it.

Custom Messages in WordPress, Part 1

The API takes care of all of that for us, and if we need to use other pieces of information, like the query string, we’re able to take advantage of API functions like get_query_var to check for the presence of a given value without much thought for how it was added in the first place.

But what about when you’re working on your administration page, and you need to display custom messages in WordPress after a redirect?

Continue reading

« Older posts Newer posts »

© 2026 Tom McFarlin

Theme by Anders NorenUp ↑