Best WordPress Hosting
 

Writing Functional Tests for WP-CLI Packages

Functional tests are crucial for WP-CLI packages as they simulate real-world scenarios, test integration with WordPress, and how they behave in a command line environment. In this article, I’ll show you how to write functional tests for WP-CLI packages. What Continue reading Writing Functional Tests for WP-CLI Packages

WordPress Plugin Development Best Practices: Template Files

When we talk about templates in WordPress we are normally referring to page template files in the theme. However, there are plugins that use template files to display content, and that becomes another consideration when it comes to building WordPress Continue reading WordPress Plugin Development Best Practices: Template Files

Get Started with PHP Static Code Analysis

Imagine a world where your IDE or code editor detected problems before you even ran the code. Imagine if whole categories of errors could be automatically identified and easily eliminated from your codebase. Imagine better code completion, more stable systems, Continue reading Get Started with PHP Static Code Analysis

Best Ways to Encrypt Passwords, Keys, & More with PHP in 2022

A few years ago I attended Laracon EU where Marcus Bointon gave a great talk on Crypto in PHP 7.2. I left the talk having a much greater appreciation for how vastly complicated cryptography is, but also for how PHP Continue reading Best Ways to Encrypt Passwords, Keys, & More with PHP in 2022

Automated API Testing For Your WordPress Site With Codeception

I’ve previously written about how we use Codeception to perform automated testing on our WooCommerce site where we sell our plugins. Automated tests give us peace of mind that our checkout still works after updating WooCommerce, other plugins, or WordPress Continue reading Automated API Testing For Your WordPress Site With Codeception

WordPress Plugin Development Best Practices: Template Files

When we talk about templates in WordPress we are normally referring to page template files in the theme. However, there are plugins that use template files to display content, and that becomes another consideration when it comes to building WordPress Continue reading WordPress Plugin Development Best Practices: Template Files

The End of Jigoshop? What Happened to The Once-Popular Ecommerce WordPress Plugin

I woke up this morning to an email from an old client from my days as a freelancer building WordPress sites, asking about SCA compliance. I built them an ecommerce site with Jigoshop back in 2011, and had added the Continue reading The End of Jigoshop? What Happened to The Once-Popular Ecommerce WordPress Plugin

How We Built an Email Queue that Can Send 100 Emails Per Second Through Amazon SES

It’s no secret that I’ve been plugging away at WP Offload SES, a new plugin that we’re hoping to launch soon that will make it easier to send your site emails over Amazon SES. While I’ve mentioned it before on Continue reading How We Built an Email Queue that Can Send 100 Emails Per Second Through Amazon SES

Behind-the-Scenes: How We’re Automating Acceptance Testing

Have you ever had the joy of carrying out acceptance tests? For our team at Delicious Brains, testing our releases, in the past, has been one of the most dreaded tasks on the to-do list. We hold our plugins to Continue reading Behind-the-Scenes: How We’re Automating Acceptance Testing

Deploying WordPress Plugins with Travis CI

Ever since I built my first WordPress plugin, the process of deploying the code to the WordPress.org Subversion repository has been a painful one. With Git as the widespread VCS flavor of choice, switching to SVN for plugin deployment has Continue reading Deploying WordPress Plugins with Travis CI

Unit Testing Ajax and API Requests in WordPress Plugins

I am scared of unit testing. There, I’ve said it. Unit testing is one of those practices that I know I should be doing, there are benefits to doing it, but it just seems too hard to implement, especially with Continue reading Unit Testing Ajax and API Requests in WordPress Plugins