BroddlIT

randomized IT thoughts
  • Home
  • About BroddlIT

Archive

Archive for August, 2009

Singleton-aware Factory in PHP

15.08.2009 Olli 3 comments

I’m using a Factory (pattern) to load objects based on configuration. Explaining the reasoning is beyond the scope of this post, the link to Wikipedia might help here.
Here’s some code how it was:

Read more…

Categories: PHP Tags: factory, pattern, singleton
RSS feed
  • Google
  • Youdao
  • Xian Guo
  • Zhua Xia
  • My Yahoo!
  • newsgator
  • Bloglines
  • iNezha

Recent Posts

  • Telecom’s T-Stick under Mandriva Linux
  • Dynadock / DisplayLink under Linux
  • Singleton-aware Factory in PHP
  • Palm, Nokia, listen up!
  • Social Marketers surprised – lying and fooling people might be illegal!

Recent Comments

freestylegary on YouTube is seriously broken fo…
Olli on The mobile world – Symbi…
Dradts on The mobile world – Symbi…
Olli on Dynadock / DisplayLink under…
Matt Molyneaux (mogg… on Making the bash (history) a be…

Blogroll

  • Broddli Blog
  • Broddli Image gallery
  • Broddli.de
  • Email Notification

Archives

  • December 2009 (1)
  • October 2009 (1)
  • August 2009 (1)
  • July 2009 (1)
  • May 2009 (1)
  • March 2009 (2)
  • September 2008 (1)
  • July 2008 (5)
  • April 2008 (5)
  • February 2008 (3)
  • December 2007 (1)
  • November 2007 (1)
  • September 2007 (1)
  • August 2007 (3)
  • July 2007 (3)
Top WordPress
Copyright © 2007-2009 BroddlIT
Blog at WordPress.com. Theme by NeoEase. Valid XHTML 1.1 and CSS 3.