I don’t usually do retrospectives for every year for merchandise, posts, work, or something.
On condition that I didn’t write as a lot as I’ve in years handed, I believed I’d share what the most well-liked articles I’ve shared over the past yr in hopes of each of surfacing some older content material but in addition setting the tone for the approaching yr.
2022: Most Helpful Articles
- How I Set Up My 2021 MacBook Professional. Right here’s how I arrange my 2021 MacBook Professional together with hyperlinks to all of the software program and the tactic by which I set up them (both through the Mac App Retailer, Homebrew, or Direct Downloads).
- Putting in, Configuring, and Setting Up Xdebug in Visible Studio Code. That is every little thing that must be completed to put in Xdebug with a Homebrew-based setting and to work with the software program inside Visible Studio Code.
- Writing Helper Capabilities in Procedural Programming in WordPress. Right here’s how one can write domain-specific, testable helper capabilities in procedural programming in WordPress.
- WP Plugin Scaffold: Simply Begin a Composer-based WordPress Plugin. The WP Plugin Scaffold repository comprises a a really primary set of information which might be wanted to spin up a Composer-based WordPress Plugin.
- Learn how to Dynamically Load Courses by Namespace in PHP. To dynamically load courses by namespaces in PHP, you want a Registry, and a method to parse the concrete information from a listing primarily based on its namespace.
- Utilizing Ray in WordPress Improvement: Rendering Information and Information Buildings. Ray makes it simple to start out measuring efficiency of your code each in WordPress and in standalone PHP options.
- Writing for WordPress Has to Change (For Me). nonetheless imagine that WordPress continues to mature it its personal bizarre method with its personal wild financial system. And I nonetheless suppose that I’ll proceed to work in it as I nonetheless benefit from the issues I’m fixing on a day-to-day foundation.
- Putting in Outdated Variations of PHP With Homebrew. I like the pace at which PHP is transferring nowadays and how briskly the brand new variations are, too however that doesn’t imply the software program on which we’re going goes to persistently be capable of sustain with the quick launch cycles.
- Utilizing GrumPHP, Composer 2 and PHP 7.2. Word that I used to be working PHP 7.2 and Composer 2 whereas looking for a model of GrumPHP that helps Composer 2. It’s a tedious activity however right here’s what you want.
- There’s Extra to WordPress Than FSE and Headless. I believe we’re additionally forgetting the truth that WordPress is much extra malleable than FSE and Subsequent.js or, extra merely put, locked into having React be the first factor on which we focus.
- Dracula Theme for Preformatted WordPress Blocks. That’s when I discovered
spotlight.js
and a Dracula theme for it. So I wrote a small plugin for WordPress that works with the prevailing Preformatted block and modifications the colour scheme to match that of Dracula. - Fast Tip: Type All Customers by Metadata. For those who’re working with the All Customers display screen in WordPress and need to type all customers by metadata, it’s attainable with the
pre_get_users
hook. - A Backend Engineer Learns to Construct Block Editor Blocks. I believed it is likely to be price holding myself to the duty I discussed within the earlier article on writing higher the Block Editor tutorials.
Right here’s to writing extra in 2023 however, then once more, I’ve mentioned that earlier than so we’ll see. 🙂