ABSTRACT

New requirements are the reality of successful software development-and this time it has to do with creating objects. In this chapter, the objective is to establish the ABSTRACT FACTORY as a solution to the problem of creating variable types of objects. As was the case in the introduction of the two preceding design patterns, another objective is to show how this pattern also comes naturally from a compositional design philosophy. However, this time you will see that blindly following the ®-¬-­ process do not necessarily provide the best solution-you have to analyze the result and constantly refactor to optimize the design.