https://github.com/serhatyamann/design_patterns
Design Patterns explanations and examples.
https://github.com/serhatyamann/design_patterns
adapter-pattern behavioral-design-patterns bridge-pattern builder-pattern chain-of-responsibility-pattern creational-design-patterns decorator-pattern design-patterns factory-pattern mediator-pattern observer-pattern singleton-pattern structural-design-patterns
Last synced: 7 months ago
JSON representation
Design Patterns explanations and examples.
- Host: GitHub
- URL: https://github.com/serhatyamann/design_patterns
- Owner: serhatyamann
- License: mit
- Created: 2021-10-24T20:05:41.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-10-31T01:46:08.000Z (over 4 years ago)
- Last Synced: 2025-04-12T08:53:26.646Z (11 months ago)
- Topics: adapter-pattern, behavioral-design-patterns, bridge-pattern, builder-pattern, chain-of-responsibility-pattern, creational-design-patterns, decorator-pattern, design-patterns, factory-pattern, mediator-pattern, observer-pattern, singleton-pattern, structural-design-patterns
- Language: C#
- Homepage:
- Size: 38.1 KB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# DESIGN PATTERNS
#### Design patterns are solutions to software design problems you find again and again in real-world application development. Patterns are about reusable designs and interactions of objects. They are categorized in three groups: Creational, Structural, and Behavioral.
## Creational Patterns
### [Singleton Pattern](https://github.com/serhatyamann/DESIGN_PATTERNS/tree/master/Singleton_Pattern)
#### The Singleton design pattern ensures a class has only one instance and provide a global point of access to it.
#### A visualization of the classes and objects participating in this pattern.

### [Factory Method Pattern](https://github.com/serhatyamann/DESIGN_PATTERNS/tree/master/Factory_Method_Pattern)
#### The Factory Method design pattern defines an interface for creating an object, but let subclasses decide which class to instantiate. This pattern lets a class defer instantiation to subclasses.
#### A visualization of the classes and objects participating in this pattern.

## Structural Patterns
### [Decorator Pattern](https://github.com/serhatyamann/DESIGN_PATTERNS/tree/master/Decorator_Pattern)
#### The Decorator design pattern attaches additional responsibilities to an object dynamically. This pattern provide a flexible alternative to subclassing for extending functionality.
#### A visualization of the classes and objects participating in this pattern.

## Behavioral Patterns
### [Chain of Responsibility Pattern](https://github.com/serhatyamann/DESIGN_PATTERNS/tree/master/Chain_of_Responsibility_Pattern)
#### The Chain of Responsibility design pattern avoids coupling the sender of a request to its receiver by giving more than one object a chance to handle the request. This pattern chains the receiving objects and passes the request along the chain until an object handles it.
#### A visualization of the classes and objects participating in this pattern.
