The patterns in the first group of patterns, creational patterns, are used when simple and composite objects are created. The following patterns belong to this group:
- Abstract factory pattern: You can use this pattern to create entire families of related objects but without the need to specify their classes. This pattern is described in Chapter 11, Factory Method, Abstract Factory, Prototype, and Builder.
- Builder pattern: This pattern abstracts the construction of a complex object, and allows the same process to create different representations. It is described in Chapter 10, Singleton, Dependency Injection, Lazy Initialization, and Object Pool.
- Dependency injection pattern: This is used to send specific instances of ...