Software Engineering in WordPress, PHP, and Backend Development

Author: Tom (Page 373 of 427)

Understanding WordPress Actions and Filters

Understanding WordPress Actions and Filters

In my experience, one of the toughest concepts for new WordPress developers to grasp is the difference in actions and filters.

By this, I don’t mean that they are difficult to use. In fact, I think most developers have a pretty easy time picking up how to hook their functions into hooks and filters when needed, but it seems as if its a bit challenging to grasp WordPress page life cycle and how actions and filters fit into the overall context of WordPress.

So in my latest article at Envato, I try to provide a clear understanding of WordPress Actions and Filters.

Continue reading

My Strategy For Organizing JavaScript in WordPress

Yesterday, I shared my strategy for using LESS in WordPress and enjoyed the comments that followed. In that post, I also mentioned that I have a similar strategy that I use to maintain my JavaScript files.

This particular aspect of development is one that I’m still experimenting with; however, there are certain aspects of it that have remained constant.

To follow up with yesterday’s post, I thought I’d share several things that I’ve consistently done that have improved development as well as some of the things that I’m currently doing that are proving to be useful.

With that said, here’s my current strategy for organizing JavaScript in WordPress.

Continue reading

Writing PHP The Right Way

PHP The Right Way

Last week, I wrote two articles discussing code quality when working on WordPress-specific projects:

Both of the articles lead to good comments, links, and thoughts from you guys. Though many of us are familiar with the WordPress Coding Standards, they don’t cover everything.

Rachel Baker shared a link to PHP The Right Way – a solid resource for writing PHP-based code when the coding standards leave something to be desired.

Continue reading

Giveaway: jQuery Cookbook First Edition

The comments on this post are now closed.

A few years ago, when I was really getting into JavaScript and jQuery, there were a number of books I read that really helped level-up my skillset. Some of the books, I’ll hold on to as I constantly reference them; others, I’ve shared with local developers.

Last weekend, I stumbled across my copy of  jQuery Cookbook. When I read this a couple of years ago, it really helped to introduce some of the more professional-level ideas and capabilities of jQuery rather than just how to use it.

But I’m done with it. It’s still in great condition, but I’d like to give it away to one of you guys.

Continue reading

« Older posts Newer posts »

© 2025 Tom McFarlin

Theme by Anders NorenUp ↑