Your WordPress News Dashboard

Someone Has Likely Already Written Your Blog Post - Tom McFarlin

This morning, I was going through my RSS reader. In one of the programming feeds that I read, I read two different articles both of which were talking about Git. Each were talking about something that has been discussed I… Continue Reading →

Thanksgiving 2023 - Tom McFarlin

For nearly every year I’ve written, I’ve made sure to publish a post on the end-of-the-year holidays here in the United States. This is the earliest Thanksgiving photo I have in my library. It’s neat to see what I wrote… Continue Reading →

How To Mitigate Side Effects in WordPress Development - Tom McFarlin

In software development, the concept of a side effect is generally understood to be something like this: In computer science, an operation, function or expression is said to have a side effect if it modifies some state variable value(s) outside… Continue Reading →

Asynchronous Methods and Headers: Just Working Isn’t Good Enough - Tom McFarlin

When sending asynchronous requests to a WordPress back-end, which may be a REST API or an Ajax callback, it’s helpful to know what headers to specify when sending said data. Since I recently shared another post about idempotency in REST… Continue Reading →

Block Notes: Generate a Reference to a Block - Tom McFarlin

I’m working on a block that, like many, isn’t limited to a single instance in the editor (and thus not the frontend); however, because there are certain features of the block I want to manipulate when the page loads, I… Continue Reading →

No One Cares About Clean Code (Or Do They?) - Tom McFarlin

If you’re around my age or have been in the industry since the early 2000s, you likely think of the phrase “clean code” being synonymous with the book by the same name written by Uncle Bob (or Robert Martin). From… Continue Reading →

You Rarely Get Greenfield Projects (Or Do You?) - Tom McFarlin

TL;DR: I’ve found this to be true in my career. In my experience, whether or not you get a greenfield project depends on your company or the nature of your team. If courses teach you’ll be building more greenfield projects… Continue Reading →

Colleges Don’t Teach Useful Software Development (Do They?) - Tom McFarlin

With regard to what I shared in the previous post – What Do You Expect From Being a Software Developer? – the author provided 10 things that I found worth sharing (and now considering). At the very least, it’s something… Continue Reading →

What Do You Expect From Being a Software Developer? - Tom McFarlin

Not everyone who works in software development has a degree in computer science (or a degree at all), and I’m not suggesting that you should. However, if you have ever taken a class, course, or degree program in computer science,… Continue Reading →

Block Notes: How To Nest Related Blocks - Tom McFarlin

When creating a custom category into which you want to group your own blocks, you may also want to create a block that can only hold blocks that belong to that group. Or, in other words, you may want to… Continue Reading →

Block Notes: How to Register a Custom Block Category - Tom McFarlin

It’s been a while since I’ve done any custom block development. In fact, the last time I called bankruptcy on any content was when I was writing about building blocks for WordPress. A bit has changed since then, though: That… Continue Reading →

One Way to Standardized Structure for Must-Use Plugins - Tom McFarlin

The directory can often become full of various files that have basically been dropped in to solve a particular problem for the particular WordPress installation. In my experience, these are often useful plugins but they aren’t structured like more standard… Continue Reading →

Why We Don’t Always Need Do Perform an Early Return - Tom McFarlin

The point is that I’m making is this: don’t perform an early return unless it makes the code easier to follow. Source

The Term ‘WordPress Adjacent’ Should Be More Precise - Tom McFarlin

Over the last year or so, the term “WordPress adjacent” has become more popular to use. And I get it. There are a lot of us who are still heavily involved with WordPress but who are building tools and/or solutions… Continue Reading →

Use Custom Functions to Determine Which Environment You’re Running Your Code - Tom McFarlin

There are more complicated ways in which custom functions can be used. But this is about thinking through when utility functions like this are helpful. Source

© 2023 WP News Desk — Powered by WordPress and WP RSS Aggregator | Hosted by WP Engine

Up ↑