The first design pattern I ever used was the Factory Method pattern. By adopting that pattern, I moved the code for creating my objects out of my constructors and into a separate method. That ...
This article discusses the strength and weakness of applying Dependency Injection (DI) with a variant of Abstract Factory design pattern. This approach is especially suitable for such scenarios as ...