A common design pattern for WordPress plugins is to have one “main class” that implements the singleton pattern. This pattern is called the “God Class” and it loads all of the other classes the plugin needs as well as instances of those classes in properties of that class. I’ve utilized this anti-pattern, because it accomplishes a job and often is the best option for codebases that support PHP 5.2. But it’s not nearly as efficient as dependency injection to achieve a similar outcome. The advantage of an implementation of the “God Class” anti-pattern is that you only need one singleton. […]
Torque Toons: Let’s make a Twitterbot
Can we all agree these long Twitter threads are getting out of hand? How great would it be if there was a Twitterbot that just replied to anyone who was starting a long thread with simple instructions on how to install WordPress. Don’t forget to check out our other editorial toons!
10 Easy Ways to Speed Up Your WordPress Website [Case Study]
Many elements make a successful website: Design, content, SEO, mobile-friendliness — to name just a few. Yet, something that has become more and more important over time is website speed. Consumers are impatient. If a website takes too long to load, they move on to something else. How long before they get itchy feet? Two seconds, that’s it. The problem is exacerbated by the fact that visitors are mostly using mobile devices that often have a slower data connection than desktop and laptop computers. As a consequence, WordPress users are hard pressed to make their sites as fast as possible. […]
10 Fantastic Free WordPress Plugins for 2017 (That You May Not Have Heard Of)
When it comes to WordPress plugins, some big names get all the glory (we’re looking at you, Yoast SEO), while others languish in semi-obscurity. Considering there are thousands of plugins available for the platform, you could be missing out on some amazing tools by limiting yourself to the most popular options. The key to identifying a great WordPress plugin goes beyond looking at how many times it has been installed. You need to take into consideration reviews and update history, and ask yourself, Can this tool help me improve my site? In this article, we round up ten outstanding plugins (in no […]
Doc Pop’s News Drop: Chrome’s “Not Secure” message and Replyable
Doc’s WordPress News Drop is a weekly report on the most pressing WordPress news. When the news drops, I will pick it up and deliver it right to you. This week we talk about Postmatic’s new Replyable product and Google Chrome’s new “Not Secure” message for non HTTPS sites. Love WordPress news but hate reading? This is Doc Pop’s News Drop. This week, popular comment plugin, Postmatic rebranded the basic version of their plugin calling it Replyable. This stripped down “Software as a service” product only offers email commenting. The rest of the features, such as newsletter building and post […]

1 Comment