Home » low level design » Page 2

low level design

Mediator Pattern

The Mediator pattern, also known as the Intermediary or Controller, helps manage communication between different objects. It stops objects from talking to each other directly and makes them talk only through a mediator. This keeps things more organized and prevents messy connections between objects. In air traffic control systems multiple aircraft need to coordinate their […]

Mediator Pattern Read More »

Command Pattern

The Command Pattern, alternatively referred to as the Action or Transaction pattern, belongs to the category of behavioral design patterns. It involves the conversion of a request into an independent object that encapsulates all relevant information about the request. This transformation enables the passing of requests as method arguments, facilitates the postponement or queuing of

Command Pattern Read More »

Flyweight Pattern

The Flyweight pattern is primarily employed to minimize the volume of object instances and, consequently, reduce memory consumption while enhancing performance. This design pattern falls within the structural pattern category, as it offers techniques for reducing the total number of objects, thereby enhancing the organization of objects within an application. The Flyweight pattern aims to

Flyweight Pattern Read More »

Proxy Pattern

The Proxy pattern is a structural design pattern that allows an object (the proxy) to act as an intermediary or placeholder for another object, controlling access to it. It is often used to add a level of control or optimization to the interactions with the real object, such as lazy loading, access control, or logging.

Proxy Pattern Read More »

Facade

A Facade is a structural design pattern that acts as an interface to a larger and more complex set of classes, simplifying the interaction with those classes by providing a unified and simplified interface. It hides the intricacies and complexities of the underlying system, making it easier for clients to work with. Computer graphics involve

Facade Read More »

Decorator Pattern

The Decorator pattern belongs to the category of structural design patterns. It provides a way to enhance the functionality of objects by enclosing them within wrapper objects, which in turn, impart additional behaviors to these objects. When developing a reporting system, you need to provide flexibility for users to customize the content and appearance of

Decorator Pattern Read More »

Composite Pattern

The Composite Pattern is a structural design pattern to compose objects into tree-like structures to represent part-whole hierarchies. It allows clients to treat individual objects and compositions of objects uniformly. In essence, the Composite Pattern creates a unified interface for both individual objects (leaf nodes) and composite objects (nodes that can contain other objects). This

Composite Pattern Read More »

Bridge Pattern

The Bridge pattern is like a blueprint for organizing big classes or groups of related classes. It helps you separate them into two distinct parts: one for their main features (abstraction) and another for how they actually work (implementation). This separation allows you to work on these parts independently, making your code more flexible and

Bridge Pattern Read More »

Prototype Pattern

The Prototype pattern is a creational design pattern that focuses on creating new objects by copying an existing object, called the prototype, rather than using constructors. This pattern is particularly useful when creating objects that are similar to existing ones, as it promotes code reusability and reduces the overhead of repeatedly initializing objects from scratch.

Prototype Pattern Read More »

Scroll to Top