Software, Development, and WordPress

Category: Articles (Page 2 of 235)

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

Privacy on the Web, 2020

Back in 2019, I started writing a series of posts around the idea of how to maintain privacy on the web (because it was a growing concern at least for me). As I wrote then:

For many of us, we’re well aware of the privacy implications of the software and services many of us use on a day-to-day basis even if we’re not sure just how this information is shared.

14 March 2019

Things haven’t slowed down with regard to privacy and though I’m still consistently on the lookout for different services, utilities, applications, and so on, I thought it might be useful to round up everything that I’ve drafted thus far.

So here’s a rundown of material I’ve covered in both 2019 and 2020.

Continue reading

How I Backup Photos and Videos Every Month

One of the things that I’ve done since high school (at least that’s when I think I started) is consistently backup photos and videos.

Back then, I wasn’t taking as many photos – I was younger, digital cameras still saved things to flash cards, and the EXIF data would be inaccurate if the battery ever completely died.

Then, I had to reset it or just roll with inaccurate timestamps. And as a teenager, who cares when something was taken?

Unfortunately, I lost all digital media prior to 2003. That’s a story for another time, but it was the catalyst for regularly backing up my photos and videos in several formats and in several locations.

And though the process by which I do this has changed over the years, I still take the time to do it so much so that I now have 17 years worth of photos and videos organized my year, month, day, hour, minute, and second.

And all are taken from various digital cameras through every iteration of a cell phone I’ve owned.

Sure, our mobile operating systems do a good job of backing up and sorting things for us but I still like to have multiple backups of everything so at the end of each month, I still export everything from my phone and go through a process of backing everything up.

Though I’m always interested in how other people do it, I’ve also had some friends and colleagues ask what my process is. So that’s the purpose of this post.

More specifically: Here’s how I backup photos, videos, and organize them each month.

Continue reading

Add a Custom View to the All Posts Screen

TL;DR: I’m going to be working on a series that looks at how to achieve a useful task with taxonomies, likely categories, then refactor it into an object-oriented plugin that will serve as a utility plugin for taxonomies, in general.

A Brief History of OOP Posts

Some time ago, I did a lengthy series about the principles of object-oriented programming (and tried to share a decent amount as to how to achieve certain things within the context of WordPress).

I’ve also written a bunch of articles about the whole paradigm over the years for those who are interested in catching up on some of those articles.

And I’d be remiss if I didn’t share that a good friend of mine has literally written a book on the topic, too.

And thus, as I’ve been thinking about various topics to write about (after taking an admittedly longer period of time off than I planned), thought that it might be worth talking about practical things we can do with normal APIs and hooks and then refactor that into a type of utility plugin.

Continue reading

It’s Okay to Write a Kludge, Sometimes

TL;DR: Don’t avoid writing a kludge of code when the situation necessitates it. Sometimes, factors outside of our control dictate how quickly we can turn a solution around. At the minimum, leave a code comment that explains what the code does and optionally why it’s not included in a way that’s as consistent with the rest of the module in which you’re working.

When I first started in my career (as I imagine most people in our industry do), I was bent on writing the best solutions possible to the problems that I was given.

Nevermind that fact that I may not have had the experience of my peers, managers, or so on. I was bent on making sure that given the level of information I had, I was going to write the best code possible and aim to both prove myself but to show what I was capable of doing.

I was young. 🤷🏻‍♂️

Fast-forward over a decade, and things have changed.

Continue reading

Learn JavaScript, Forget PHP?

The landscape of WordPress has changed.

time lapse photography of green field and clouds

A few years ago, we were all tasked with learning JavaScript deeply and rightly so. With the advent of Gutenberg and projects like Calypso, it’s obvious that JavaScript is becoming a dominant force in WordPress (not to mention the web as a whole), if you don’t consider it to be so already.

And for anyone who has read Coding Horror within the last decade or so, you’re likely familiar with Atwood’s Law:

any application that can be written in JavaScript, will eventually be written in JavaScript.

Jeff Atwood

But as this has happened, it seems as if its created a clearer divide between what constitutes a front-end developer and a back-end developer in the WordPress economy.

Personally, I welcome it as I find myself even more eager to learn, grow, and work on the back-end as PHP grows and changes. But that’s just me and there’s more to examine.

Continue reading
« Older posts Newer posts »

© 2021 Tom McFarlin

Theme by Anders NorenUp ↑