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, and one of…
Using Npm Scripts as a Build Tool
There are typically two types of JavaScript build tools: task runners and module bundlers. In this article, we’ll look at how to use project specific npm build scripts as a…