Monthly archives: June, 2012

In defence of singleton

t has become fashionable to condemn the singleton pattern. Apart from specific complaints, it is said to be not OO. Now what I’m going to provide is not a general response to general remarks, it is a PHP specific response to attacks on singleton. It’s based on my own actual development experience. To get some …

Design by Dave Mcpoland