Tom McFarlin

Software Engineering in WordPress, PHP, and Backend Development

Page 191 of 428

My Suite of Apps: Kiwi for Gmail

When it comes to OS X, I’ve tried almost every email client I could get my hands on. To say that I’m particular about my workflow is an understatement. As such, it’s important that I have applications that don’t harsh getting work done.

I’m pretty sure every single one of you is the same way. How we get work done likely varies from person to person, but still.

Anyway, so when it comes to email I’ve not always had the best of luck. Either the client was unintuitive, I didn’t like the UI, the shortcuts what weren’t I wanted, or it didn’t have features that helped me get things done quickly.

And since I use Gmail as my main provider of email, I often found myself hopping back into the browser. It was, you know, comfortable.

But then I found Kiwi.

Continue reading

Viewing The PHP Debug Log

When building web applications, especially with PHP, there are some tools that are invaluable.

These include things like a good IDE, a powerful debugger, version control, and so on. But one of the things that I think we often neglect against our shiny tools are basic text files.

No, I don’t think we need to take a step back from our usual toolset, let’s not forget files also at our disposal.

Case in point: Let’s say you’re working on a web application. If you’re using PHP, then one way to do this is to view the PHP debug log.

It’s a simple text file that gives you as much information as you could want about any page in your project. Continue reading

The Journey of a Presentation

One of the things I got into earlier in my self-employment career was trying to speak at local meet-ups, conferences, and so on.

Sometimes, circumstances make it difficult to accept those engagements (priorities and all :). But I’ve always found different types of people have different styles of presenting.

Continue reading

Install PHP CodeSniffer with Composer

A little over a month ago, I talked about how to install the PHP Code Sniffer in an MAMP-based environment. Though you can read the post in its entirety, the short of is this:

  1. Setup Pear
  2. Install the package via Pear
  3. Grab the rules for the WordPress Coding Standards
  4. Begin evaluating your code

Easy enough, right?

But here’s the thing: As mentioned in the article, some may opt to use Composer to install the package. In fact, someone also mentioned this in the comments.

And since Composer is the default dependency management application for PHP projects, it makes sense to use it, right?

Composer

The funny thing is, since I’ve written that article, I’ve been using Composer in a few projects. So I thought it would make sense to show how to install PHP CodeSniffer with Composer.

Continue reading

WordPress Options and Theme Modifications

When The Customizer (once called The Theme Customizer) became part of WordPress, we saw a resurgence in the Theme Modification API.

The Theme Customizer

At one point in WordPress history, the get_theme_mod and set_theme_mod was how we handled theme modifications (hence the function names). Then, we began to use the options table as a way to manage the various settings for our plugins.

And then we began to use the options table as an easy to way to store settings for our themes. It was like we moved the Theme Modification API to the backseat and pushed forward with options.

Should we have done that (or does it even matter)? And what’s the difference in these APIs, anyway? Why do we still have both of them, which is best to use and when?

Continue reading

« Older posts Newer posts »

© 2026 Tom McFarlin

Theme by Anders NorenUp ↑