Beyond Basics: Designing Flexible and Extensible TypeScript Applications with Decorator Design PatternThe Decorator design pattern is a structural pattern that allows behavior to be added to an individual object at runtime without affecting the behavior of other objects from the same class. This blog post will explore how to use the Decorator pattern...Mar 19, 2023 · 5 min readsamuelkollat.hashnode.dev
Beyond Basics: Streamline Your Typescript Code With Fluent Interface Design PatternThe Fluent Interface is a design pattern used to create object-oriented APIs that are easy to read and use. It allows developers to write code that reads like natural language. It achieves this by chaining multiple method calls together, resulting in...Mar 10, 2023 · 4 min readsamuelkollat.hashnode.dev
Beyond Basics: Building Scalable TypeScript Applications with Chain of Responsibility Design PatternChain of Responsibility (CoR) is a behavioral design pattern that passes a request between a chain of objects. In this pattern, each object in the chain can either handle the request or pass it on to the next object in the chain. Today we will explor...Mar 8, 2023 · 7 min readsamuelkollat.hashnode.dev
Beyond Basics: Transform Your Typescript Codebase with Command Design PatternThe design pattern Command is a behavioral design pattern that encapsulates requests as objects. The primary purpose of the pattern is to separate a request from its execution, thus allowing a more flexible and modular design. This pattern is especia...Mar 6, 2023 · 7 min readsamuelkollat.hashnode.dev
Beyond Basics: Level Up Your TypeScript Skills with Visitor Design PatternVisitor design pattern is a powerful object-oriented behavioral design pattern that allows you to separate algorithms from the objects they operate on. In this pattern, we can define a set of operations to be performed on the elements of an object st...Mar 3, 2023 · 7 min readsamuelkollat.hashnode.dev