Tag Archives: singleton

PHP and an abstract Singleton

PHP is quirky. I’ve heard it called other things, but I’ll leave it at that. I had a great learning experience while writing an abstract singleton class. Static binding in PHP behaves uniquely, and is often a hurdle when you try and develop an kind of an API using inheritance and static properties. If you [...]

Also tagged | 2 Comments

Page optimized by WP Minify WordPress Plugin