Archive
Posts Tagged ‘factory’
Singleton-aware Factory in PHP
15.08.2009
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:
Recent Comments