Posts Tagged ‘productivity’

Dynamic Eclipse PDT (PHP) templates for the singleton pattern

Sunday, September 25th, 2011

I’m currently working with a legacy PHP CMS and do-it-all system which is heavily reliant on singletons. Instead of relying on static methods and direct invocation we store object instances in a global array, these instances are then retrieved through the use of a call looking like this: singleton(’ClassName’).... Read More