Software Engineering in WordPress, PHP, and Backend Development

Tag: WordPress (Page 190 of 218)

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

Displaying a Plugin Activation Message in WordPress

There have been times through out several projects where I’ve wanted to display a plugin activation message (or deactivation message).

WordPress makes it relatively easy to do this using two functions:

But here’s the the thing: These two functions may not work as you expect if you’re writing your plugins using object-oriented practices.

So I thought I’d share how I go about displaying a plugin activation message in hopes that it not only helps you in your future projects, but in hopes that you guys could offer up your own code review as well.

Continue reading

Quality WordPress Products: Do They Exist?

Last week, I published my thoughts on Software Craftsmanship and WordPress. For what it’s worth, that particular post was one that I’d been thinking about for quite some time, I just never took the time to sit down and actually draft my thoughts on it.

The post resulted in a short, but interesting discussion both in the comments and on Twitter, but one comment in particular really got me thinking more about the topic.

Seeing the terms “WordPress” and “software craftsmanship” in the same sentence makes me LMAO. I just downloaded 3.5.1 to see if it was as bad as I remember. It’s worse. I remain convinced that WordPress was developed wholly by monkeys randomly hitting keys on a keyboard.

The point of this post is not to go back and forth on whether or not the author is correct in his statements. Instead, the comment got me thinking about craftsmanship in the context of the work we do on top of pre-existing systems regardless of the language, platform, and/or framework that you’re using.

Specifically, it got me thinking more about quality WordPress products and projects and whether or not form follows foundation.

Continue reading

WordPress Plugins: A Dilemma

In case it isn’t obvious from some of my previous posts, I’ve been giving a lot of thought to some of the problems with the WordPress plugin repository.

Though I’ve already stated this in previous posts, my goal isn’t to complain without offering solutions – I hate seeing it, and I hate doing it – I don’t think it’s proactive and that’s why I enjoy many of the comments that have happened around this particular space.

But as I begin consider moving back to a premium model of offering WordPress-specific products and services, this has raised yet-another-dilemma.

Continue reading

An Update To The WordPress JavaScript Coding Standards

A few weeks ago, I published the first version of the WordPress JavaScript Coding Standards to the WordPress Codex. Since then, it’s already been updated with a variety of improvements from several other developers who are much more capable than I am.

However, there’s currently a major overhaul of certain documentation going on. For example, a number of us are working on the Core Contributor Handbook, the Theme Developer Handbook, the Plugin Developer Handbook, and more.

As of today, the WordPress JavaScript Coding Standards are now part of the Core Contributor Handbook.

Continue reading

Software Craftsmanship and WordPress

Earlier this year, I shared a post on why software craftsmanship matters in WordPress development. It stemmed from a Twitter conversation that I had with Dave Donaldson at Max Foundry.

In the comments of that particular post, Dave also followed up with this comment:

Just to be clear, my issue with the term “software craftsman” is that it’s taken on an elitist connotation by many people, and that bothers me. It also bothers me that there is some correlation between people who spout “software craftsmanship” but don’t actually ship anything.

I try not to spin my wheels on topics that I’ve already discussed in-depth, but I recently stumbled across another post by Uncle Bob Martin – arguably the biggest proponent of the software craftsmanship movement – on the 8th Light blog that brought up the same concerns that Dave mention.

Specifically, it discussed the “elitist connotation [demonstrated] by many people.” Call me naive but I’ve simply been missing out on the drama that’s been going on surrounding this entire “software craftsman” thing.

For me, it’s always been about the manifesto, and the ability to make sure that I – as a developer – am doing the best job that I can to build good things for others and for myself.

It’s also a matter of making sure that I’m actively trying to learn from others as well as evangelizing my own practices to others not because I think that I’ve got it figured out, but simply to give back to the developer community.

But apparently, there’s more going on.

Continue reading

« Older posts Newer posts »

© 2024 Tom McFarlin

Theme by Anders NorenUp ↑