Examples of Refactoring PHP Code for Better Readability
Examples of Refactoring PHP Code for Better Readability Refactoring code is when you restructure existing code without changing its external behavior. Basically your aim is to make “bad” code better… Read more
Strategies for Handling Large WordPress Media Libraries in Dev and Staging Environments
Offloading your media files is a well-known tactic for speeding up your WordPress sites, but WP Offload Media can also greatly reduce the time it takes to replicate a new… Read more
Why Developers Should Use SVG Files
SVG images have advantages that should make them an essential part of any developer’s toolkit. While they share a few similarities with JPG, PNG, and WebP image types, SVGs have… Read more
DE{CODE} 2023: Developer Focused WordPress Education
You know code…but do you know DE{CODE}? Hosted by WP Engine, this 100% virtual event is dedicated to helping WordPress developers build smarter, maximize conversions, and modernize the user experience.… Read more
WordPress Plugin Development Best Practices: Plugin Templates
WordPress functionality is largely defined by the available plugins, and many clients want functionality that’s best served with a custom plugin. The initial setup is often a tedious affair, with… Read more
The Developer’s Advanced Guide to the wp-config File
How well do you really know wp-config? There’s a surprising amount of power in those few lines of PHP! This article is a tour of some bits of wp-config that… Read more
WP-CLI Packages: Supercharge Your WordPress Development
WP-CLI lets you do pretty much anything you can do in the WordPress admin, but faster and more efficiently with a command-line interface. WP-CLI packages take this even further by… Read more
Installing, Updating, and Managing WordPress Plugins With WP-CLI
WP-CLI allows you to do practically anything you can do in the WordPress admin, but on the command line. This saves a lot of time and provides a cleaner workflow.… Read more
Managing Your WordPress Site With Git and Composer
Managing WordPress with Git and Composer has some big advantages. In particular, it can give you version control and helps get new people up to speed quickly. But it’s not… Read more
Our Guide to WP-CLI Command Structure
The WordPress command line interface (WP-CLI) is an incredible tool for improving your development workflow. Understanding how commands are structured is key to using WP-CLI to its full potential. In… Read more
How to Use tmux for Remote & Local Development
The tmux terminal multiplexer is often used in remote development, but it has interesting applications for local dev work as well. In this article, I’ll explain what a terminal multiplexer… Read more
Syncing WordPress Database Changes Between Environments: How We Handle Merging in 2022
Database synchronization is a problem that still gets raised almost every month in the local WordPress communities I’m part of – “if I am making changes to my local site,… Read more
The Ultimate Guide to Installing WordPress in a Subdirectory
In this article, we look at the benefits and limitations of installing WordPress in a subdirectory, how to install and manage subdirectory installs, and how to move WordPress core out… Read more
Quickly Set Up Google AMP on Your WordPress Site
Should your WordPress sites use Google’s Accelerated Mobile Pages (AMP)? It’s a simple question with a complicated answer. When it was announced in 2015, Google billed the AMP Project as… Read more
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… Read more
The Ultimate Overview of the WordPress Block Editor (Gutenberg) for Developers in 2022
I’ve been loosely following the noise and #wpdrama surrounding Gutenberg for as long as it has been around and honestly for the most part I’ve had negative feelings around it… Read more
Reviewing Craft Nitro & DevKinsta for WordPress Local Development
One of the cool things about my job as Developer Educator at Delicious Brains is that sometimes I get to try out new things that I might otherwise never discover.… Read more
How to Use Xdebug for Advanced PHP Debugging
You could just debug your PHP code using dump debugging functions such as error_log, print, and var_dump, and let’s be honest, we’ve all done it a lot! While helpful sometimes,… Read more
Why You Should be Using WP_DEBUG_LOG in Your WordPress Development
Whether you’re a developer, or a site owner troubleshooting a problem with your site, understanding the WP_DEBUG_LOG constant for turning on the WordPress debug log is very important. In this… Read more
Vue vs React: Which is the Best JavaScript Framework in 2021?
React or Vue.js, which JavaScript framework should you choose? React powers WordPress’ new editor while Vue.js is a popular framework in the Laravel community. In this post we’ll go over… Read more
The 4 Best Local WordPress Development Environments in 2021: XAMPP vs MAMP vs Local vs DesktopServer
An easy-to-use local testing server is one of the most important tools in a WordPress developer’s utility belt. Developing in a local environment lets you make changes to dev sites… Read more
VS Code Wins Best PHP IDE/Editor for WordPress Development in 2021
When building software or websites, you’ll need to use an integrated development environment (IDE), a code editor or if you’re really brave, a text editor. They each offer different benefits… Read more
How We Use PhpStorm for WordPress Development
Many of the Delicious Brains team use PhpStorm, the PHP IDE from JetBrains, as their go-to code editor, development environment, and all-round PHP best friend. Some on the team swear… Read more
Switching to Windows for Local WordPress Development
As you may have noticed from reading our blog, we’ve highly favored Mac and Linux for WordPress development. And we’re not alone – through my very scientific and thorough research,… Read more