Archive for November, 2007

One Step Closer to an Abstract Singleton

Saturday, November 24th, 2007

The singleton is an incredibly useful pattern in PHP for many reasons. I tend to find myself using them when I know I should be using static classes, but can’t because of PHP’s lack of proper class name discovery in extended static classes. Also, they make great containers for database connections, configuration objects, session wrappers, […]

Posted in Code, Design Patterns, PHP | 1 Comment

Site Stuff

Pages

Projects

Archives

Categories