Builder
Related Patterns
Abstract Factory is similar to
Builder in that it too may construct complex objects. The primary
difference is that the Builder pattern focuses on constructing a
complex object step by step. Abstract Factory's emphasis is on
families of product objects (either simple or complex). Builder
returns the product as a final step, but as far as the Abstract
Factory pattern is concerned, the product gets returned immediately.
A Composite is what the
builder often builds.