A few Points of the Abstract Factory Pattern

1. If there is no response to "build" objects to series demand changes, there is no need to use the    Abstract Factory pattern.Using a simple static factory can at this moment.

2. A series of "object" refers to the interdependence between these objects, or relationship

3. The Abstract Factory pattern mainly lies in response to the demand of the "new series" changes.The drawback is that it is difficult to cope with the demand of the "new object" changes.

4. Often the Abstract Factory pattern and Factory Method pattern combination together to respond to demand change in the "object creation".
Ebook Download
View all
Learn
View all