By mbutcher
via phparch.com
Published: Mar 08 2010 / 11:55
This article provides a nice summary of the debate(s) surrounding the static method vs. singleton debate in PHP development. It suggests Dependency Injection as a solution that should reduce or eliminate singleton usage in PHP development. It's a quick, fresh read on a well-worn issue.



Add your comment