Using Class Autoloaders (in WordPress?!)

The other day, I tweeted out that I believe there is hesitancy in the WordPress world to use autoloaders. Don’t believe me? I feel like there’s hesitancy in the WP world w/ autoloaders. spl_autoload_register is your friend. Namespaces… Read More

Giuseppe Mazzapica on: “What is the best way to initiate a class in a WP plugin?”

Giuseppe Mazzapica wrote a very thought-provoking and insightful response to the question “What is the best way to initiate a class in a WP plugin?” on wordpress.stackexchange.com. I definitely recommend a read. It will probably make you smarter.

Gary Jones’ Recommended Resources on Avoiding Singletons

The Clean Code Talks – “Global State and Singletons” Why Singletons have no use in PHP Testing Code That Uses Singletons Making Singletons Safe in PHP The “Missing” Patterns of the PHP Manual — Singleton Why Singletons are… Read More

Primer On Globals, PHP, Classes. or OOP.

What the OOP is a PHP Class?

Fast, secure WordPress hosting is provided by WP Engine.