Link Category: Tutorials
Making Gutenberg Blocks, a guide for us laggards
I was recently talking to my friend Jeremy and mentioned that I’d never quite made a “production” Gutenberg block, but had been meaning to learn for as long as that’s been a thing. (For shame!)
Coding Advice for Those Who Think They Suck at Code
Found from Ben in the MasterWP newsletter, I love this hilariously short bit of advice about how to be a better programmer. In it, Pete Shirley, who calls himself “a poor programmer” says it’s helped him as someone who thinking they’re in the bottom quartile of all programmers. I kind of doubt he really is, because the advice is way better that what a lot of “elite” programmers tell you about. And it’s very approachable.
Install WordPress with a Managed Database on Digital Ocean
Digital Ocean, a popular VPS hosting provider, recently announced a hosted-MySQL platform. The reasons you may want to do use this (vs putting the MySQL instance on the same server as your WordPress wed server) are a little more subtle than I want to get into here, but suffice it to say you’d get better scalability but a possibly more complex setup. For that reason, I’m linking to this tutorial on the topic from Mark Drake.
Managing Multiple Sites: WordPress Multisite vs Separate Installations
I was recently working on a client project where I was faced with the question: should we have one WordPress multisite installation, or many “stand alone” WordPress sites? I gave the correct and scapegoat-y answer: “It depends.” And I was right, but if (like me) you weren’t really aware of the intricacies of that trade-off, I recommend reading this little article from Andy over at Beaver Builder.
Understand Types of WordPress Caching
This is a solid little article from the folks over at SpinupWP about caching in WordPress. “Caching” is one of the most simply and complicated words, almost simultaneously. The heart of the issue, there there are so many different kinds. A few years back I tried to tease those types of caching apart, but but different takes on the same basic material work better for different people.
HTML Can Do That!?
This is a fun and short little post over at Dev.to from Ananya Neogi. It’s essentially a short-list of lesser known features for which you can just add some HTML markup and have cool features.
How to Create Hierarchical Custom Post Types in WordPress
Large, collaboratively-created systems almost always contain pitfalls: misleading bits that don’t work the way they should. When someone thinks of these pitfall-prone systems, the English language, with all its/it’s inconsistencies, often comes to his/her/his or her/their/there/they’re mind.
How to Build a Google Data Studio Dashboard
From an internet marketing firm called Data Driven Labs comes this outstanding introduction to Google Data Studio, a Google product I’d like to know a lot more about.
An Introduction to PHP Web Scraping
Over at Thoughtful Code, I recently published an introduction to PHP web scraping based on some hard-won lessons I’ve had over the last few months doing it for keeps. It’s a skill that few people have, and which you might want to use carefully, but it’s super powerful when you need data you can see on a web page, have a reasonable legal right to, and can’t get from a comfortable and friendly programming API.
Make WordPress Page Cache Plugins Fly on Nginx
This was a great little read about server performance matters from Ashley Rich over at Delicious Brains. While I think most WordPress users (and even most WordPress developers) don’t really need to be expert server administrators, at least delving into the topics from time-to-time is super valuable if you’re going to be the most skilled developer you can be, and understand how parts outside of your “core stack” interact.