title: Singleton in Conjunction with the Factory Pattern in PHP5
body: <p>What is the best method for using singleton design pattern in conjunction with the factory method pattern in PHP5? My simplest usage scenario for this is instantiation selective database connection only once for each database type.</p>