design-patterns
Creational
Used to create object
- Singleton
- Factory
- Abstract Factory
- Builder:
- Create a complex object from a simple one
- When some attributes are not required
- Prototype
Structural
Relationship between objects
Behavior
Communication between objects
Combinator
-
Combinator pattern allows chaining functions on an object in order to perform some validations
-
Synchronization:
- Allows resolving concurrency problem
- Deadlock: when concurrency is not managed
-
Data Access Object (DAO)
- Separate business layer from persistence layer
- Permits both layer to evolve separately without knowing anything about each other
-
Data Transfer Object (DTO)
-
Data Change Capture
Archi
- Data Driven Architecture