Tom McFarlin

Software Engineering in WordPress, PHP, and Backend Development

Page 169 of 428

Document Your Practices and Procedures (For You and Your Team)

We do a good job of evangelizing the different tools, environments, and ways to tackle problems in our space (that is, within WordPress development), but I often wonder how well we do for actually documenting our practices, procedures, and so on for others.

10up - Document Your Practices

Sure, some companies open source their practices, and that’s great, but does every company? And should they?

Sometimes, I think people believe that if a company bases itself on open source, then they should have everything out in the open:

  • Their software,
  • Their practices,
  • Their financials,
  • And so on.

I don’t agree, but I do think there’s something to be said for documenting your practices within your team as this benefits both you, your teammates, and people you may end up bringing on to a project or on to your team for future work.

Continue reading

How to Work with WordPress Metadata

One of the nicest APIs that the application offers is the WordPress Metadata API. It’s through this API that we’re able to take ideas such as posts, users, comments, terms, and more and store richer information that just the standard set of information.

Sure, there’s a lot to consider when taking advantages of these additional columns or fields as it relates to these concepts. But if you’re a beginner or someone who’s just starting to get deeper into the WordPress API, then I can’t recommend learning these APIs enough.

In two recent series for Envato, I cover these concepts in-depth.

Continue reading

Setting up PHP and Composer in MAMP

Lately, I’ve been trying to write shorter, more focused on articles on particular topics, but there are times in which a longer article is warranted: Case in point: Using PHP and Composer in MAMP.

Before you get started reading this article, I’m assuming you have a couple of things:

  • MAMP installed on your machine (it’s compatible with Windows now!)
  • Time to read all that’s below
  • Willingness to use the Terminal
  • Coffee (or another drink, but seriously coffee) to read through all that’s below

It’s not that any of this is intimidating. I mean, if you’re completely inexperienced, there may be a bit of a learning curve, but I’m going to do what I can to break this down for you regardless of the level of experience you have.

Ultimately, the goal is to make it easier for you to write more modular code using third-party dependencies and with keeping things well-organized on your system and in your projects.

Continue reading

Syncing Atom Settings Between Computers

Syncing Atom settings between multiple machines is useful in that you’re able to maintain all of your packages, settings, and so on regardless of the machine you’re on.

And yes, I’ve been talking about Atom a bit more as of late. I’m clearly a fan. But that’s evident, right?

If you maintain more than one machine, then it’s usually nice to have the same development environment configured between the two of them.

Here’s a method for syncing Atom’s settings between though it does assume you use Dropbox. If not, any service you use for sharing files can be used, but your actual steps will vary.

Continue reading

WordPress Autocomplete for Atom

One piece of functionality that’s useful that isn’t natively built-in to Atom: WordPress autocomplete.

To clarify, earlier this month I talked about how I’d made the switch to Atom as my IDE of choice. I’d also shared a package and a few steps necessary to get PHP CodeSniffer working with Atom. And though that’s nice, there’s something to be said for having other features available (more of which I’ll share in the future).

This isn’t to say that I think we should be using autocomplete as any crutch but if it comes down to having the various hooks and functions appear while typing versus opening up a Codex reference, I’d much prefer the former.
Continue reading

« Older posts Newer posts »

© 2026 Tom McFarlin

Theme by Anders NorenUp ↑