Testing WordPress plugins can be difficult, especially during development, when you want the feedback loops to be small. A local development environment can help. This enables you to test your plugin on a local WordPress installation, running on your own computer, without the need for a live website. However, setting one up can be difficult, …Read: "Setting up a WordPress development environment in Docker"
Recent WordPress articles
Composer is a dependency management tool. It allows you to add libraries as a dependency, so you don’t have to solve every problem yourself. You can make use of the solutions provided by others to save yourself some time and likely account for edge-cases you hadn’t even thought of. Why would you use dependencies? For …Read: "Composer dependencies in WordPress plugins"
Every developer has the habit to reinvent the wheel. We search for excuses to do everything ourselves, such as "Ah no, that thing doesn't fully cover what I need" and "I don't trust code I didn't write myself". That's too bad because others might have fixed the same issues you ran into. In this post, …Read: "Is there a plugin for that?"
Unit-testing your WordPress plugin can be challenging. Luckily there are tools out there making it a lot easier. In this post, we will be covering the following tools: PHPUnit, Mockery and BrainMonkey. Together these tools can be a powerful tool to ensure the technical quality of your plugin. Before we started using these tools at …Read: "Unit-testing with mocks in WordPress"
This week, we released our first digital story; Diversity, inequality, and prejudice; a sociological exploration. This is the first in what will, hopefully, become a small series of stories that really define our mission, company culture, and broader vision. With these stories, we want to explore the possibilities the WordPress block editor has to offer …Read: "Digital storytelling in the age of blocks"
As WordPress developers, we're busy with developing features most of the time. Developing functionalities is awesome, but a lot can go wrong too, unfortunately. One way to help prevent things going awry is having your own blog. Here, I'll explain how writing for my own blog helped me understand WordPress users better and improved my …Read: "Every WordPress developer should have their own blog!"
Plugins and themes from the WordPress.org repository install as stand-alone packages; they need to contain all the code, files, and dependencies needed to function correctly. Because there is no centralized system with an overview of all the dependencies used in different WordPress plugins and themes, they all need to implement their own safety net. Dependencies …Read: "Safely using PHP dependencies in the WordPress ecosystem"