GoF Design Patterns – Singleton Design Pattern
The Singleton Design Pattern is a creational design pattern that restricts the instantiation of a class to a single instance and ensures that a global point of access is provided to that instance. …
by Dominik Cebula
The Singleton Design Pattern is a creational design pattern that restricts the instantiation of a class to a single instance and ensures that a global point of access is provided to that instance. …
Overview The Prototype Design Pattern is a creational design pattern that allows us to create new objects by cloning existing ones rather than creating them
The Builder Design Pattern is a creational design pattern used to construct complex objects in a step-by-step manner. …
The Abstract Factory Design Pattern is a creational design pattern that allows for the creation of families of related objects. …
The Factory Method Design Pattern is a creational design pattern that allows you to customize a class behavior by overriding the method used to create an object with which the class will collaborate. …
The Adapter design pattern is a structural design pattern that allows incompatible classes to work together. …
The Composite design pattern is a structural pattern that allows us to work with individual objects and a group of objects in the same way. …
The Iterator design pattern is a behavioral pattern that provides a way to access elements of an aggregate object sequentially without exposing underlying representation. Here an aggregate is understood as an object that holds collections of other objects. …
The Interpreter Design Pattern is used to define a language, its grammar, and syntax in an object-oriented way. Defined objects are then used to interpret custom-defined language in a context. …
The Command pattern is a behavioral design pattern that allows developers to encapsulate requests or operations as objects. …