Global Information Lookup Global Information

Abstract factory pattern information


UML class diagram

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, by encapsulating a group of individual factories that have a common theme without specifying their concrete classes.[1] According to this pattern, a client software component creates a concrete implementation of the abstract factory and then uses the generic interface of the factory to create the concrete objects that are part of the family. The client does not know which concrete objects it receives from each of these internal factories, as it uses only the generic interfaces of their products.[1] This pattern separates the details of implementation of a set of objects from their general usage and relies on object composition, as object creation is implemented in methods exposed in the factory interface.[2]

Use of this pattern enables interchangeable concrete implementations without changing the code that uses them, even at runtime. However, employment of this pattern, as with similar design patterns, may result in unnecessary complexity and extra work in the initial writing of code. Additionally, higher levels of separation and abstraction can result in systems that are more difficult to debug and maintain.

  1. ^ a b Freeman, Eric; Robson, Elisabeth; Sierra, Kathy; Bates, Bert (2004). Hendrickson, Mike; Loukides, Mike (eds.). Head First Design Patterns (paperback). Vol. 1. O'REILLY. p. 156. ISBN 978-0-596-00712-6. Retrieved 2012-09-12.
  2. ^ Freeman, Eric; Robson, Elisabeth; Sierra, Kathy; Bates, Bert (2004). Hendrickson, Mike; Loukides, Mike (eds.). Head First Design Patterns (paperback). Vol. 1. O'REILLY. p. 162. ISBN 978-0-596-00712-6. Retrieved 2012-09-12.

and 24 Related for: Abstract factory pattern information

Request time (Page generated in 0.8369 seconds.)

Abstract factory pattern

Last Update:

The abstract factory pattern in software engineering is a design pattern that provides a way to create families of related objects without imposing their...

Word Count : 1832

Factory method pattern

Last Update:

In object oriented programming, the factory method pattern is a creational pattern that uses factory methods to deal with the problem of creating objects...

Word Count : 1856

Creational pattern

Last Update:

class-creational patterns defer its object creation to subclasses. Five well-known design patterns that are parts of creational patterns are the abstract factory pattern...

Word Count : 938

Provider model

Last Update:

implementations using an abstract factory pattern approach. Providers are a subclass of the ProviderBase class and typically instantiated using a factory method. The...

Word Count : 272

Prototype pattern

Last Update:

patterns overlap—there are cases when either prototype or abstract factory would be appropriate. At other times, they complement each other: abstract...

Word Count : 1327

Virtual function

Last Update:

initialized to their default zero values). Some design patterns, such as the Abstract Factory Pattern, actively promote this usage in languages supporting...

Word Count : 1658

Design Patterns

Last Update:

deciding which objects need to be created for a given case. Abstract factory groups object factories that have a common theme. Builder constructs complex objects...

Word Count : 1809

Singleton pattern

Last Update:

singleton pattern can also be used as a basis for other design patterns, such as the abstract factory, factory method, builder and prototype patterns. Facade...

Word Count : 996

Decorator pattern

Last Update:

Composite pattern Adapter pattern Abstract class Abstract factory Aspect-oriented programming Immutable object Gamma, Erich; et al. (1995). Design Patterns. Reading...

Word Count : 4186

Dependency inversion principle

Last Update:

instantiation requires the implementation of a creational pattern such as the factory method or the factory pattern, or the use of a dependency-injection framework...

Word Count : 2158

Archetype pattern

Last Update:

The Archetype pattern separates the logic from implementation; the separation is accomplished by there being two abstract classes, a decorator (for logic)...

Word Count : 410

Software design pattern

Last Update:

In software engineering, a design pattern describes a relatively small, well-defined aspect (i.e. functionality) of a computer program in terms of how...

Word Count : 2802

JDBCFacade

Last Update:

normal usage of JDBC in any way. JDBCFacade uses the command and abstract factory patterns to provide a simplified database api that hides many of the details...

Word Count : 204

Object lifetime

Last Update:

constructor arguments. Thus, constructors can raise exceptions. The abstract factory pattern is a way to decouple a particular implementation of an object from...

Word Count : 3558

Blue Onion

Last Update:

copied by other companies. The "onion" pattern was originally named the "bulb" pattern. The Blue Onion pattern was designed by Johann Gregor Herold in...

Word Count : 430

Dependency injection

Last Update:

description language Factory pattern Inversion of control Plug-in (computing) Strategy pattern AngularJS Service locator pattern Parameter (computer programming)...

Word Count : 3452

Clarice Cliff

Last Update:

designs. Abstract and cubist patterns appeared on these shapes, such as the 1929 Ravel (seen on Cliff's Conical shape ware), which was an abstract leaf and...

Word Count : 4624

Factory Acts

Last Update:

Act and shown to the inspector on demand. An abstract of the amended Act must be hung up in the factory so as to be easily read, and show (amongst other...

Word Count : 16598

Dispose pattern

Last Update:

encapsulation, and underlies the dispose pattern. Resources are typically represented by handles (abstract references), concretely usually integers,...

Word Count : 1988

Lorna Bailey

Last Update:

same time, Bailey began designing a series of cottage and trees and abstract patterns based on the pottery of Clarice Cliff. These were produced by the...

Word Count : 804

Afternoon

Last Update:

These trends are held across all four studies and for both complex and abstract questions. However, one UK-based researcher failed to find any difference...

Word Count : 1397

Portmeirion Pottery

Last Update:

Talisman (1962). In 1963, she created the popular design Totem, an abstract pattern based on primitive forms coupled with a cylindrical shape. She later...

Word Count : 568

Kente cloth

Last Update:

in the Asante dialect of the Akan language, referencing its basket-like pattern. In Ghana, the Akan ethnic group also refers to kente as nwentoma, meaning...

Word Count : 1724

Ryoji Ikeda

Last Update:

Christian Marclay; The Vinyl Factory, White Cube, 2015) The Solar System (The Vinyl Factory, 2015) code name: A to Z (The Vinyl Factory, 2017) music for percussion...

Word Count : 2125

PDF Search Engine © AllGlobal.net