title: Difference between singleton and factory pattern
body: <p>I'm new to design patterns and I cant really see a difference between this two patterns, both are creational patterns arent they? and what is the purpose of each pattern? thanks.</p>