https://github.com/pierdipi/abstractfactorydesignpattern
Abstract Factory Design Pattern [java & PHP]
https://github.com/pierdipi/abstractfactorydesignpattern
abstract-factory-pattern design-pattern design-pattern-java design-pattern-php design-patterns java php
Last synced: 9 months ago
JSON representation
Abstract Factory Design Pattern [java & PHP]
- Host: GitHub
- URL: https://github.com/pierdipi/abstractfactorydesignpattern
- Owner: pierDipi
- License: mit
- Created: 2018-08-31T15:22:53.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-08-31T19:09:28.000Z (over 7 years ago)
- Last Synced: 2025-01-29T02:45:34.684Z (11 months ago)
- Topics: abstract-factory-pattern, design-pattern, design-pattern-java, design-pattern-php, design-patterns, java, php
- Language: PHP
- Homepage: https://pierdipi.github.io/abstractFactoryDesignPattern/
- Size: 141 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Abstract Factory Design Pattern
Abstract Factory Design Pattern
___
> **Provide an interface for creating families of related or dependent objects without specifying their concrete classes.**
___
> ### Applicability
> * Use the Abstract Factory pattern when:
> * a system should be independent of how its products are created, composed, and represented.
> * a system should be configured with one of multiple families of products.
> * a family of related product objects is designed to be used together, and you need to enforce this constraint.
> * you want to provide a class library of products, and you want to reveal just their interfaces, not their implementations.
___
#### Examples
___
* [Java example (**UI components**)](https://github.com/pierDipi/abstractFactoryDesignPattern/tree/master/abstractFactoryJava)

___
* [PHP example (**Books**)](https://github.com/pierDipi/abstractFactoryDesignPattern/tree/master/abstractFactoryPHP).

___
#### You feel free to add your example. :+1:
___