Website
-
SWPD #011: The Four Levels of Automated Testing
This week, I’m going to walk you through the four levels of automated testing. Each level of testing covers a different aspect of the overall quality of your plugin code.…
-
SWPD #010: How to Add Acceptance Tests to Your WordPress Plugin
This week, I’m going to walk through a testing setup that you can implement in about 20 minutes and a test that will cover the entirety of your plugin right…
-
SWPD #009: How to Audit the Codebase of Your WordPress Plugin
This week I’m going to show you how to do an audit for the codebase of a WordPress plugin. A checklist of areas where you can steadily make improvements helps…
-
SWPD #008: Namespacing WordPress Hooks in Plugins
This week, I’m going to show you one of the best ways I’ve found to write quality hook names for your plugin’s actions & filters. I’ve been working on a…
-
SWPD #007: How to Use Composer to Simplify Plugin Development
This week, I’m going to explain how you can set up Composer for WordPress plugins. Plugins can be as simple as a single PHP file with a few functions. But…
-
SWPD #006: Use Modern PHP in Your WordPress Plugins
Today, I’m going to show you that plugins should be elegant PHP applications that interface with WordPress. PHP is still a vibrant and powerful language—even if the discussions on social…
-
SWPD #005: Easily Zip WordPress Plugins with WP-CLI dist-archive
This week, I’m going to walk you through setting up WP-CLI’s dist-archive so you can easily zip up new versions of your plugin. Over the last year, I’ve built a handful of plugins…
-
SWPD #004: Effectively Planning New Development
In this issue, I’m going to explain why planning should always be your first step when working on a new plugin or feature. When you start a new plugin or…
-
SWPD #003: Setting up a local development environment with Lando
Recently, I’ve been working with a new tool for local WordPress development called Lando. Running WordPress on your local machine is essential to being a productive plugin developer. Your computer…
-
SWPD#002: Improve Your Code Quality With Static Analysis
In this week’s issue, I’m going to explain why you should be using static analysis in your development process. Static Analysis is a process of evaluating code without actually running…