README SimpleFactory

This commit is contained in:
Dominik Liebler
2013-09-24 14:08:25 +02:00
parent 59001ecf92
commit d05a8beb9c
2 changed files with 10 additions and 7 deletions

9
SimpleFactory/README.md Normal file
View File

@@ -0,0 +1,9 @@
# Simple Factory
## Purpose
ConcreteFactory is a simple factory pattern.
It differs from the static factory because it is NOT static and as you know: static => global => evil!
Therefore, you can haZ multiple factories, differently parametrized, you can subclass it and you can mock-up it.