A Gang of Four creational design pattern that provides an interface for creating families of related objects without naming their concrete classes, so a whole family of related products can be swapped out together.
Facts
Core PrincipleProvides an interface for creating families of related objects without specifying their concrete classes, so a client can swap an entire family of products by swapping the factory it uses. 1 Connections
Associated With
Erich Gamma, Pioneers Erich Gamma co-authored Design Patterns: Elements of Reusable Object-Oriented Software (1994, with Helm, Johnson and Vlissides), the book that named and catalogued the Abstract Factory pattern among the original 23.
In Field
Sources
1. Wikipedia: Abstract Factory Pattern
Wikimedia FoundationOverview section, first sentence
The abstract factory design pattern is one of the 23 patterns described in the 1994 Design Patterns book.
Lead section, first sentence
The abstract factory pattern in software engineering is a design pattern that provides a way to create families of related objects without imposing their concrete classes
View the Source Reader Challenges (0)
No disputes yet. Spotted an error or a better source? Open the first one.
Sign in to dispute this or suggest a correction.