Monthly archives: September, 2009

Well used singletons are GOOD!

Pejorative comments about singleton classes abound. All they seem to me to have proved is the age old truth of software: all techniques can be used badly. Earlier, I looked at Steve Yegge’s complaints about singletons. Now I’m reviewing a set of objections attributed to Brian Button by Scott Densmore. FIrst, I have to point …

Using powerful PHP array functions

There is a wealth of useful power in the PHP array functions. They are generally much more efficient than writing your own PHP code, since they are compiled. Not that I’m against PHP being an interpreted language, there are a lot of advantages in that. But you should still take advantage of efficiency where it …

Design by Dave Mcpoland