© Bipin Joshi 2016
Bipin JoshiBeginning SOLID Principles and Design Patterns for ASP.NET Developers10.1007/978-1-4842-1848-8_4

4. Creational Patterns: Abstract Factory and Builder

Bipin Joshi
(1)
301 Pitruchhaya, Thane, India
 
In the previous chapter you learned three out of five creational patterns. This chapter will discuss the remaining two creational patterns, namely abstract factory and builder.
The factory method pattern discussed in the preceding chapter comes in handy when you wish to instantiate a class. However, at times you will need to create a family of objects that are related. That’s where the abstract factory pattern comes into the picture.
Objects can be complex in nature. At times you will need to create complex objects such that ...

Get Beginning SOLID Principles and Design Patterns for ASP.NET Developers now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.