Software Engineering in WordPress, PHP, and Backend Development

Category: Articles (Page 221 of 258)

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

Sending Data on POST with WordPress

The title of this particular article is somewhat misleading as it has nothing to do with sending an email upon creating a new post in WordPress, but actually whenever the HTTP `POST` action has occurred.

Additionally, the methodology describing below isn’t relegated to just sending emails – it can be used when any data needs to be managed upon a `POST` request. This includes sending emails, serializing data to the database, evaluating information to be presented on the next page view, or whatever else.

Of course, one of the best ways to actually demonstrate how to do something is to give some practical example, so for all intents and possible, I’m going to show how to structure a project using the event-driven model of WordPress to send an email upon a `POST` request.

Continue reading

Write For WPTuts+ – Here’s How, Here’s Why

Comments are closed on this post. If you're interested, please comment on the annoncement..

One of the things that I’m most passionate about as it relates to software is education. This is why I spent a significant portion of my week blogging both here and on other sites, as well.

In short, I think the Internet has given us as all an amazing vehicle for a variety of things – obviously – the least of which is not helping others to move further, faster in the direction that they’d like to take their career.

This is one reason why I try to write for WPTuts+ and why I always recommend others do the same, if they have the time.

Continue reading

Friction Between Developers and Customers: It’s Unnecessary

In my limited experience, one of the most common things that I see in working with software development contracts has to do with the friction between developers and customers.

Or, more specifically, it’s about the challenges of communication. challenges that exist between communicating requirements between both us, as the developers, and our customers.

It’s not at all uncommon to hear:

  • Customers say something like “my developer didn’t do [whatever it is] I asked him to do,” despite the fact the developer believes s/he did exactly that.
  • Developers will also say “I’ve built exactly what the customer asked me to do,” despite the fact that customer doesn’t necessarily agree.

So if both parties are working together to build something together, then why is it so common for conversations like this occur?

Continue reading

How To Move Your WordPress Database

Comments on are closed on this post so we can keep the discussion on the original articles.

Last month, I shared my process for performing WordPress-based site migrations. For the record, this process is the one I prefer and that I’ve found best in my day-to-day work, but it’s not necessarily perfect for everyone.

So there are obvious alternatives some of which may work better for you than others.

In my latest serious on Tuts+, I’ve got a three part series that will walk you through how to move your WordPress database.

Continue reading

Why I Prefer To Use Hungarian Notation

When it coms to dynamic programming languages such as PHP and JavaScript, one of the things that people often debate is the use of hungarian notation.

Like most things with programmers, the debate can easily become something that resembles a religious argument. The debate normally hits on the following two points:

  1. You shouldn’t have to use Hungarian Notation – the context of your code should provide enough information.
  2. You should use Hungarian Notation – it helps with readability of the code.

For whatever it’s worth, I prefer to use Hungarian Notation. And though I’m not exactly one who elevates things to a heated debate, I’ve found as much as I’d like context to provide me with enough information, I don’t always see this as being the case in projects.

Continue reading

« Older posts Newer posts »

© 2026 Tom McFarlin

Theme by Anders NorenUp ↑