Design Pattern: Chain of Responsibility Pattern in TypeScript

Chain of Responsibility decouples the request and response processing of an execution. By chaining the steps of processing this pattern separates the steps clearly and also allows the client to decide the sequence of processing. This article demonstrates Chain of Responsibility pattern implementations in TypeScript.

Design Pattern: Iterator Pattern in TypeScript

Iterator pattern creates an interface for the client to access the internal list items of a collection. The implementation hides the underlying complexity from the client and makes it very simple for the client to traverse a list of items. In this article, we are demonstrating Iterator pattern implementation in TypeScript.

Design Pattern: Memento Pattern in TypeScript

Memento pattern maintains a list of state changes performed on an object. This way, we can revert back and can go back to any point of object state history. The internal state is encapsulated inside the object, and the undo process does not need to be aware of it. This article demonstrates Memento pattern implementations in TypeScript.