Flexible creation of objects without introducing unnecessary dependencies into the program.
-
- Applicability
- Provide one object or array of shared data for all modules (Logger class with Array of logs).
- Data base connection
- Issues:
- A lot of mocks in unit testing.
- Applicability
-
- Applicability
- An easy way to create complex objects with optional/additional parameters.
- Applicability
-
- Applicability
- Creates objects based on template of an existing object and cloning it, and make some possibile modification in new the clone.
- Applicability
Show different ways of building relationships between objects.
Take care of effective communication between objects.