A better alternative to "return early" - PHP / WordPress edition
PHP Namespaces for WordPress - a No Nonsense Guide
PHP namespaces are easy to use and make coding faster & easier. They work like a folder structure. Learn how to use them in WordPress plugins & themes.
[Tutorial] How to install ImageMagick
Installing ImageMagick is really pain on other systems. However, it is trivial with Laragon if you follow these below steps (works with both Apache & Nginx): Download links: PHP Extension (PECL): https://pecl.php.net/package/imagick/3.4.3/windows Imagick...
Code Review Part 1: Fixing Design Flaw with the "Return Early" Strategy
While reading Josh Pollock’s first article in his Advanced OOP for WordPress series, I noticed opportunities to improve his code’s quality and performance. So I reached out to him. As a fellow educator, he suggested that I do a code review and then publish my insights in a series of articles here on Torque as …
[Tutorial] How to install Imagick
Installing Imagick is really pain on other systems. However, it is trivial with Laragon if you follow these below steps (works with both Apache & Nginx): Download links: PHP Extension (PECL): https://pecl.php.net/package/imagick/3.4.3RC1/windows Imagick ...
Be Awesome in PHPStorm
The web has changed. No longer are we writing static HTML, throwing it on Geocities, and then callin...
Examples of Refactoring PHP Code for Better Readability
Refactoring code is when you restructure existing code without changing its external behavior. Basic...