Factory = Factory Method (GoF) = Factory Method (Mike) Abstract = Abstract Factory (GoF) = Abstract Factory Method (Mike) This would imply that Abstract Factory Method is simply an implementation of Factory Method, with an additional level of inderection - which is the real world case. A factory can also be passed a Prototype instance to help it create the correct object. In this article, I am going to discuss the Abstract Factory Design Pattern in C# with an example. A Factory Design Pattern is used when the entire object can be easily created and object is not very complex. Abstract Factory patterns work around a super-factory which creates other factories. Factory method vs Factory design pattern. The Factory Method pattern uses inheritance and relies on a subclass to handle the desired object instantiation. In this tutorial, we will expand the scope of car factory problem discussed in factory pattern. Builder focuses on constructing a complex object step by step. An implementation of the Factory Method or Abstract Factory can include a implementation of the Builder pattern. The Builder design pattern is very similar, at some extent, to the Abstract Factory pattern. Abstract factory pattern is yet another creational design pattern and is considered as another layer of abstraction over factory pattern. Today I would like to tell you about Factory Method Pattern and Abstract Factory Pattern.The purpose of the article is to help you recognize places where one of them should be used. An implementation of the Factory Method or Abstract Factory can include a implementation of the Builder pattern. Builder often builds a Composite. Below, you'll find a discussion of factory methods, the Factory Method Pattern, the Abstract Factory Pattern, and comparisons between them and other patterns. Is mixing Builders and Factory pattern a good idea? Builder returns the product as a final step, but as far as the Abstract Factory is concerned, the product gets returned immediately. They hide how objects are created and help make the overall Abstract Factory patterns work around a super-factory which creates other factories. Abstract Factory returns the product immediately, whereas Builder lets you run some additional construction steps before fetching the product. If an abstract factory instance were its own client, this would be a violation of the Single-Responsibility principle. Basic understanding of factory pattern will be helpful to understand this article.. Abstract factory design pattern comes under creational design pattern category of Gang of Four (GoF) design patterns. They are all Creational patterns and are complimentary. Builder, on the other hand, is concerned with building a single type of object. Factory Method is just a method while Abstract Factory is an object. The factory method is just a method, it can be overridden in a subclass, whereas the abstract factory is an object that has multiple factory methods on it. Abstract Factory returns the product immediately, whereas Builder lets you run some additional construction steps before fetching the product. This type of design pattern comes under creational pattern as this pattern provides one of the best ways to create an object. Builder and Abstract Factory. 1. They are all Creational patterns and are complimentary. Advantages. 1 Design Patterns In Java Bob Tarr Factory Patterns: Factory Method and Abstract Factory Design Patterns In Java Bob Tarr Factory Patterns 2 Factory Patterns l Factory patterns are examples of creational patterns l Creational patterns abstract the object instantiation process. Abstract Factory: Focus a family of the product objects (wood factory, vinal factory, door, and window) ... Abstract Factory: Abstract factory’s method call creates and return different objects.