Dev BlogWelcome to the dev blog, where you can find articles on subject matters such as WordPress code, a11y, Gutenberg and all other things related to programming.
Being lazy is often not a word you want to be described as. If I call you lazy, you would object, right? But lazy is not that bad, and being a lazy programmer is certainly not a bad thing. Bill Gates allegedly said: "I choose a lazy person to do a hard job. Because a …Read: "Lazy programmers are good programmers"
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?"
The content analysis is a staple of our SEO plugin. We do our best to provide you with the best insights on how you could make your texts more readable and search-engine-friendly. In order to be able to give you this valuable feedback, we need to do a lot of computations. A logical solution would …Read: "Web workers: Why and how we use them"
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"
As a tester in a continuous development cycle, you know that you test your application not only before a release, but also on a daily basis. You'll want to automate most of your basic (though very important) short repetitive test cases, which consume lots of your time when testing manually. That way, you can focus …Read: "How to automate repetitive daily tests"