Posted on March 1, 2015
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.
Posted on January 15, 2014
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
Recent Comments