Tom McFarlin

Software Engineering in WordPress, PHP, and Backend Development

Page 135 of 428

Using Namespacing and Autoloading in WordPress

It’s not hard to find criticism about namespacing and autoloading in WordPress, and lack thereof. As much as I’d like to see it, I think it’s important to take a practical look at the software as a whole, the requirements, and realize that implementing such organization would require a lot.

Specifically, it would require applying object-oriented programming throughout the entire codebase (which would last longer than a release cycle in and of itself).

It would also require that all hosts who support WordPress on any level (yes, even those supporting legacy versions) can handle the new features.

In short, it’s not an easy task and it’s important to recognize the practical challenges that come with doing so in 13 year old software powering approximately 25% of the web.

It’s not that it can’t be done, that it won’t be done, that people don’t want it done. But it’s requires exceptional planning, execution, testing, and support from a wide array of situations that I don’t know if I can even fully grasp.

With all of that said, though, this doesn’t mean that we can’t use namespaces and autoloading in our WordPress projects.

Continue reading

Get Things Done: An Interview with iThemes

Now and then, I’m asked how I get things done or what are the preferred methods I use.

It’s not as if I’m some authority on the subject – I’m not (and even those who tend to miss a few things, in my opinion). Admittedly, I like to talk about this kind of stuff, but that’s just it:

It’s about being able to manage responsibilities effectively.

Frankly, I think that a lot of the prescriptive strategies aren’t tailored for specific personalities. But that’s for another post.

But this whole “responsibility management” and ideas for how to get things done is not something that’ relegated to one person. There are people who I’ve met in and out of this industry who I try to talk with on a regular basis about the same type of things.

I want to be able to learn from them so I can shortcut making the same mistakes in my life and career.

Continue reading

WordCamp US 2016, Post Status Publish, and Instagram

This post is going to be weird:

It’s a deviation from my normal content, it’s going to cover WordCamp US 2016, an event prior to that, and social media.

I said it was weird. But hang with me.

I’m not an avid user of Instagram in that I don’t really, you know, post pictures or anything like that. At least not right now.

I have, however, been using the story feature a little bit (much like Snapchat but without the absolutely terrible UI and pathetic stories shared by “news” outlets).

It’s also fun to follow along with those who do share photos and stories. I just don’t have that much to share given that I work out of my house, live in my house, and generally hang around my house during the week.

Continue reading

WordPress Deals for Black Friday 2016

This is that day of the year where everyone is offering deals for different products and services at a discount. It’s a pretty sweet deal, isn’t it?

It’s also one of those times where a lot of people try to build up affiliate links to make some extra cash along with promoting said products and services. I don’t necessarily think there’s anything wrong with that, but it’s not my style.

So I thought I’d try something new for this Black Friday: Earlier this week, I asked anyone and everyone I knew to share the sales they had going on, so I’ve listed what I’ve found below.

None of the links are affiliate links – they are just responses (or tweets) or emails I’ve received over the past week.

Continue reading

Happy Thanksgiving!

We’re celebrating Thanksgiving in the United States today. If you’re doing the same, Happy Thanksgiving!

Happy Thanksgiving 2016

Meghan did an awesome job with the table – if was left to me, there’d be no photo. :)

If not, I hope your day is going well and that maybe you’ve still got a thing or two or nine for which to be thankful. 🙂

Continue reading

« Older posts Newer posts »

© 2026 Tom McFarlin

Theme by Anders NorenUp ↑