Software Engineering in WordPress, PHP, and Backend Development

Tag: WordPress (Page 166 of 219)

Articles, tips, and resources for WordPress-based development.

How To Define a New WordPress Cron Schedule

Last year, I shared how to properly setup a WordPress cron job in which I walked through the process of defining a cron job in the operating system so that a job fires as a true scheduled task (rather than the faux tasks that WordPress provides).

This isn’t to say that the native WordPress scheduled tasks are bad – they just may not work as expected for those who are used to native cron jobs.

Another limitation of the the WordPress scheduling system is that it defines only a handful of intervals in which your tasks may run. These include:

  • `hourly`
  • `daily`
  • `twicedaily`

And these are fine for a lot of tasks, but if you’re looking to define a new WordPress cron schedule, you’ll need to define a custom filter.

Continue reading

The Importance of Using Domain Language in WordPress

In building software – especially at the enterprise level – one phrase that’s used to describe the work that goes into understanding what all needs to make up an application is that of the “problem space” or the “problem domain.”

This is important because part of the process of understanding the problem domain is learning the language, the terminology, and the concepts that go into building an application.

For example, say you’re building a job board. You’re likely to have something like:

  • Job Posts
  • Resumes
  • Recruiters
  • Employers
  • Employees
  • Candidates
  • …and so on

These ideas are then taken and ultimately converted into code.

Sometimes, developers will use the terminology associated with the problem domain (and this is part of domain-driven design) in their code; other times, the problem may get solved but the code may not completely reflect the problem space at the code level.

At any rate, one of the things that I see – as designers and/or developers – doing is using terminology that is more frequently associated with how we view WordPress than how users do.

Continue reading

Kaizen and WordPress

According to Wikipedia, kaizen is defined like so:

Japanese for “improvement” or “change for the best”, refers to philosophy or practices that focus upon continuous improvement of processes in manufacturing, engineering, business management or any process.

Generally speaking, this is used to talk about the continuous improvement of a product. It’s also a core idea of lean manufacturing that has also been adapted into lean software development.

Anyway, the idea isn’t anything new and I honestly think now, more than ever, more people are familiar with the idea (even if it isn’t practiced) than ever before especially because some applications use the word in the release notes for their application.

Kaizen in Paper By FiftyThree

Paper By FiftyThree mentions it with nearly every release.

As far as building products is concerned, this is something that I think many designers and developers want to do (if they aren’t already doing it, of course), but it are sometimes hindered by the nature of their environment.

By that, I mean that can we do continuous improvement – that is, can we practice kaizen – on projects that aren’t deployed on any type of particular schedule?

Continue reading

Using LighthouseApp For WordPress Issues

One of the things that I love about GitHub is how they’ve done a great job integrating source code, milestones, tickets, pull requests, and so on.

But if you’re working with WordPress, not all projects all on which you work will use GitHub.

Case in point: If you’re selling a theme on WordPress.com or if you’re working on a plugin that is hosted in the WordPress Plugin Repository, then you’re going to be using Subversion as your source control system. But this doesn’t mean that you have to sacrifice the work flow of milestones, tickets, and so on.

It just requires that you use a third-party solution. For example, for the past couple of months, I’ve been using LighthouseApp as my issue tracker of choice for Mayer.
Continue reading

Two Versions of WordPress Themes (“Is It Worth It?”)

When it comes to selling a theme for both WordPress.com and for self-hosted installations, one of the questions that I find myself asking is:

“Is it worth maintaining two repositories for the same theme?”

And I wonder this because when it comes to maintaining a codebase of a theme on WordPress.com and a version for the self-hosted version of WordPress, you can make the case that there’s no need to have a difference in the version of the themes.

But for anyone who has worked in both variants of WordPress, then you know there’s actually little bit in variation.

Continue reading

« Older posts Newer posts »

© 2025 Tom McFarlin

Theme by Anders NorenUp ↑