docs: Amendments to factory-kit README (#2305)

This commit is contained in:
murphShaw
2022-11-16 21:15:15 +02:00
committed by GitHub
parent 63ef157f23
commit dc0afb8640
+10 -1
View File
@@ -5,6 +5,9 @@ language: en
tags: tags:
- Extensibility - Extensibility
--- ---
## Also Known As
Abstract-Factory
## Intent ## Intent
@@ -20,7 +23,7 @@ Real-world example
In plain words In plain words
> Factory kit is a configurable object builder. > Factory kit is a configurable object builder, a factory to create factories.
**Programmatic Example** **Programmatic Example**
@@ -110,11 +113,17 @@ Use the Factory Kit pattern when
* A new instance of a custom builder is needed instead of a global one * A new instance of a custom builder is needed instead of a global one
* The types of objects that the factory can build need to be defined outside the class * The types of objects that the factory can build need to be defined outside the class
* The builder and creator interfaces need to be separated * The builder and creator interfaces need to be separated
* Game developments and other applications that have user customisation
## Related patterns ## Related patterns
* [Builder](https://java-design-patterns.com/patterns/builder/) * [Builder](https://java-design-patterns.com/patterns/builder/)
* [Factory](https://java-design-patterns.com/patterns/factory/) * [Factory](https://java-design-patterns.com/patterns/factory/)
* [Abstract-Factory](https://java-design-patterns.com/patterns/abstract-factory/)
## Tutorials
* [Factory kit implementation tutorial](https://diego-pacheco.medium.com/factory-kit-pattern-66d5ccb0c405)
## Credits ## Credits