• Memento Pattern

    The Memento design pattern is a behavioral design pattern that allows you to save and restore an object’s internal state without violating encapsulation. It’s particularly useful when you need to implement undo mechanisms or save snapshots of an object’s state.

  • Mediator Pattern

    The Mediator design pattern is a behavioral design pattern that promotes loose coupling between objects by centralizing communication through a mediator object. This pattern is beneficial when you have a complex system with many interrelated components that need to interact with each other.

  • Iterator Pattern

    The Iterator pattern is a behavioral design pattern that provides a way to access elements of a collection sequentially or in an order without exposing its underlying representation. It separates the traversal of a collection from its structure, allowing for cleaner, more modular code.

  • Command Pattern

    The Command pattern is a behavioral design pattern that turns a request into a stand-alone object. This object contains all information about the request and allows you to execute different commands/requests dynamically, queue or log requests, and support undoable operations.

  • Chain of Responsibility

    The Chain of Responsibility is a behavioral design pattern that creates a line of objects that pass a request along until it’s handled. This elegant solution promotes loose coupling and allows multiple objects to potentially handle a request.

Previous | Next