Visit Map

Saturday, May 19, 2007

Design Pattern -Builder Pattern


The builder Pattren intent is to Seperate the construction of a complex object from its representation so that the same construction process can create different objects.The builder pattren is useful when several kinds of complex objects.The Builder parttern is useful when several kinds of complex objects with similar rules for assembly need to joined at runtime but results in different object types.It achives this seperating the process of building the object from itsellf.t

The builder pattern creates complex objects in multiple steps instead of in single step as in other patterns.

Benefits

It permits you to vary an objects internal's internal representation.

It insolates the code for construction and representation

It provides finer control over the construction process.

No comments: