In continuation of my series on Creational design patterns, I will be
discussing about the Builder pattern in this post. You can read about
the other patterns from the following links.
The Builder pattern deals with separation of the specification of a
complex object from its actual construction. This construction process
can create different representations of the class.
The Builder pattern is based on Directors and Builders. Builder classes
can confirm to an IBuilder interface, and they can be called by a
director to produce a product according to specification. Builders can
be found in applications that create complex structures. We can use the
builder pattern when The object to be assembled might have different
representations. or when you need fine control over the construction
process.
In my next post I will start with the Behavioral patterns.
Comments