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
Getting the Best Results From WordPress Code Reviews
Code review is an integral part of the development cycle, with a direct impact on quality. Whether you’re focused on web, plugin, or theme development, thorough code review can help… Read more
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… 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
PHP and cURL: How WordPress makes HTTP requests
cURL is the workhorse of the modern internet. As its tagline says, cURL is a utility piece of software used to ‘transfer data with urls‘. According to the cURL website,… Read more
How Unicode Works: What Every Developer Needs to Know About Strings and 🦄
What is Unicode? Waaay back in 2003 Joel Spolsky wrote about Unicode and why every developer should understand what it is and why it’s important. I remember reading that article… Read more
Announcing serializededitor.com: A Visual Editor for PHP Serialized Data
I recently built a command line daemon in PHP to emulate AWS SQSD for the purposes of testing in Mergebot. As it turns out, one of the benefits of building… Read more
Building a Command Line Daemon in PHP to Emulate AWS SQSD
Sometimes when you’re building a project there are parts of the architecture that exist on production that don’t exist on your development machine. Those missing parts (like proprietary software that’s… Read more
Hooks, Line, and Sinker: WordPress’ New WP_Hook Class
The hooks system is a central pillar of WordPress and with the 4.7 release a major overhaul of how it works was merged. The Trac ticket that initially raised an… Read more
Using React and Laravel Lumen to Build a Company Status Board
A few months ago I bought an Apple Cinema display to use with my Macbook Pro. My plan was to use both screens, my Cinema display as my primary screen… Read more