Amazon S3 vs CloudFront: Why Delivering WordPress Media Directly From S3 is a Bad Idea
Amazon S3 is a sensible choice for storing your website’s assets in the cloud, but for delivery the benchmarks show that using a CDN is necessary to see any major…
How to do Background Processing in WordPress Plugins and Themes
As WordPress sites become increasingly more complex, so do the tasks that they need to perform which can often be resource intensive or time consuming. I’m talking specifically about tasks…
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 without changing the underlying functionality. There are plenty…
Using Npm Scripts as a Build Tool
In my last article, I compared the popular front-end build tools Grunt and Gulp, and talked a bit about how they are still relevant as an alternative to Webpack. I…