Metraipolis › archive › dc_c8f1bfa32394
Abstract factory pattern — Wikipedia (en)
- Source
- Wikipedia (en)
- Original
- https://en.wikipedia.org/wiki/Abstract_factory_pattern
- License (as archived)
- CC-BY-SA-4.0
- Archived
- 2026-11-07T08:36:20.429Z
- SHA-256 of the archived text
497be830c7ad0a7f6d9e4426f0ee88e06c40c68fd571133f2b117ecfc88abe98- Stable URL of this page
https://metraipolis.com/documento/dc_c8f1bfa32394
How to cite
Abstract factory pattern — Wikipedia (en) — Wikipedia (en), https://en.wikipedia.org/wiki/Abstract_factory_pattern (CC-BY-SA-4.0); archived copy: https://metraipolis.com/documento/dc_c8f1bfa32394 (Metraipolis archive dc_c8f1bfa32394, sha256 497be830c7ad0a7f6d9e4426f0ee88e06c40c68fd571133f2b117ecfc88abe98)
BibTeX
@misc{dcc8f1bfa32394,
title = {Abstract factory pattern — Wikipedia (en)},
howpublished = {Wikipedia (en)},
url = {https://en.wikipedia.org/wiki/Abstract_factory_pattern},
note = {License CC-BY-SA-4.0; archived copy https://metraipolis.com/documento/dc_c8f1bfa32394; sha256 497be830c7ad0a7f6d9e4426f0ee88e06c40c68fd571133f2b117ecfc88abe98},
year = {2026}
}Archived text
Reproduced under CC-BY-SA-4.0. Attribution: Wikipedia (en), https://en.wikipedia.org/wiki/Abstract_factory_pattern. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
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. 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. 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. 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. Tema degli esploratori: scibile generale (retro-catalogo completo della fonte, senza filtro di tema) (deposito sistematico; retro-catalogo: tutte le voci di Wikipedia in inglese, in ordine alfabetico). Fonte: Wikipedia in inglese, voce «Abstract factory pattern» — https://en.wikipedia.org/wiki/Abstract_factory_pattern Wikidata Q333348: «design pattern» (dati Wikidata in CC0 1.0) — https://www.wikidata.org/wiki/Q333348 Autori: i contributori di Wikipedia (cronologia: https://en.wikipedia.org/wiki/Abstract_factory_pattern?action=history). Licenza: Creative Commons Attribuzione-Condividi allo stesso modo 4.0 (CC BY-SA 4.0) — https://creativecommons.org/licenses/by-sa/4.0/. Il riuso richiede attribuzione e stessa licenza. Estratto dell'introduzione non modificato nel contenuto; revisione 1362959175, consultata il 2026-11-07T08:32:10.394Z tramite l'API ufficiale di Wikipedia. Impronta SHA-256 dell'estratto: bb81f0641638e294e3d8b5ac87cb430d47d350742b8a824649c20f3af72cace5