#Design-Patterns
13 notas · última:
Visitor Pattern
Represent an operation to be performed on elements of an object structure without changing the classes.
Strategy Pattern
Define a family of algorithms, encapsulate each one, and make them interchangeable at runtime.
Proxy Pattern
Provide a surrogate or placeholder for another object to control access to it.
Prototype Pattern
Create new objects by cloning an existing instance.
Memento Pattern
Capture an object's internal state so it can be restored later without violating encapsulation.
Mediator Pattern
Define an object that encapsulates how a set of objects interact, promoting loose coupling.
Iterator Pattern
Access elements of a collection sequentially without exposing its underlying representation.
Facade Pattern
Provide a simplified interface to a complex subsystem.
Decorator Pattern
Attach additional responsibilities to an object dynamically, as an alternative to subclassing.
Chain of Responsibility Pattern
Pass a request along a chain of handlers until one processes it.
Adapter Pattern
Convert the interface of a class into another interface clients expect.
Gang of Four Design Patterns
The 23 design patterns catalogued by Gamma, Helm, Johnson and Vlissides in Design Patterns: Elements of Reusable Object-Oriented Software (1994).
CQRS
CQRS — Command Query Responsibility Segregation — is a pattern first described by Greg Young. At its heart is the notion that you can use a different model to update information than the model you…
