Software Engineering in WordPress, PHP, and Backend Development

Author: Tom (Page 305 of 429)

Maintain The WordPress Admin Look and Feel (Except When You Don’t)

When it comes to building custom WordPress applications, plugins, or themes, one of the things that I’m a big proponent of doing is maintaining the native WordPress admin look and feel.

That is to say that I am not a fan of introducing option pages or other elements that deviate from the styles that WordPress core provides.

Case in point: Theme settings pages should match the same theme as the rest of the settings pages in WordPress. There shouldn’t be any major deviation in color scheme, font, or the way certain elements function. By that, I mean tabs should work without any fancy animation, and so on.

But there are times when modifying core user interface components that enhance the experience and that do deviate slightly from the core native WordPress core styling.

In those cases, is deviating from WordPress core acceptable?

Continue reading

Not The WordPress Codex!

In my previous post, I shared a few thoughts on how I think someone can become a better WordPress developer.

When it comes to talking with beginner – or intermediate – WordPress developers, one thing that I’ve noticed is that when you suggest the WordPress Codex as a resource, there’s beginning to be a somewhat-typical response that I’m beginning to hear:

Please don’t suggest the Codex.

Bummer, right?

Continue reading

Mastering WordPress: How Long Should It Take?

Recently, I received an email from a fellow developer who had finished reading a number of series of articles on WordPress, who had watched a number of WordPress tutorial videos, and was working towards mastering WordPress.

He went on to discuss his current skill set, his aspirations, and the type of projects he eventually wanted to take on as his career progressed.

Not bad, right?

Here, you’ve got a person that knows who he is, knows where he wants to be, and is looking for advice on how to get there.

Unfortunately, there was only so much advice I could give (I’d love to master WordPress, as well!), but the bottom is line I responded with a series of things that i think he – or anyone – can do in order to become a better WordPress developer.

Continue reading

So, Um, What is PSR (or PSR-0, PSR-1, PSR-2, and PSR-3)?

Up until last year, I had been happily plugging along working on various projects – both Rails based and PHP-based – and trying to put more and more stuff into open source until some of the issues what were being opened on my PHP-based projects kept mentioning something about PSR-0.

What is PSR-0?

People kept referencing it, no one linked to it, and it more-or-less an assumed standard that I, along with other PHP-developers, should know. But I’m not afraid to admit that, at the time, I’d no idea what it was.

As I see more and more activity happening around WordPress, and I see about the same amount of code documentation happening for projects – that is, not so much – I thought it’d be worth answering “What is PSR?” as well as the other three variants.

After all, I’d been working in WordPress and with PHP for years prior to hearing about it, and I still had to look it up. Perhaps that’s a problem of my own, but I’m completely okay owning that.

But hopefully this post will save someone else from having to look more deeply into it.

Continue reading

jQuery Konami Code 1.2.0 Now Available

On March 14, 2011, I released the first version of the jQuery Konami Code as part of a project that I was finishing up. The project itself is no longer active; however, the jQuery Konami Code has been sitting in GitHub ever since.

Earlier this week, I merged the first pull request that the plugin has received (thanks to Stephen Hill!) which introduced a number of improvements.

Next, I spent some time cleaning up the demo code, cleaning up the actual project directory, and making a few other improvements with the help of JSLint.

Continue reading

« Older posts Newer posts »

© 2026 Tom McFarlin

Theme by Anders NorenUp ↑