MCPcopy Create free account
hub / github.com/AbdurRKhalid/Design-Patterns

github.com/AbdurRKhalid/Design-Patterns @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
515 symbols 988 edges 139 files 7 documented · 1% updated 3y ago★ 4722 open issues

Browse by type

Functions 374 Types & classes 141
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Introduction of Design Patterns

Design Patterns plays a very important role in the Object Oriented Software Design. Each level of enterprise application has some kind of Design Pattern Implementation. Design Patterns Helps to Create More Reusability Friendly Code that is easy to handle.

Purpose of this Repository

This repository contains the basic information and the code implementation of the commonly used design patterns so that the undertanding of the basic design patterns can become clear and easy to understand.

Why Design Patterns?

  1. Using a Design Pattern specific to any problem can improve the overall documentation and design of project.
  2. Using a Design Pattern can help to build effective software with usability increased to many folds.

What is Design Pattern?

Description of occurrence of a single problem again and again causing to design similar solution again gave rise to construction of design pattern.

Components of Design Pattern

  1. Name: The name of the Design Pattern includes the problem and it's solution.
  2. Problem: What kind of problem the specific design pattern will solve.
  3. Solution: What is the solution of specific problem.
  4. Consequences: What will be the consequences in terms of space and time complexity etc.

The following Table Contains the Links to the Each Design Pattern Description Page, where different components can be found.

Creational Structural Behavioral
Abstract Factory Adapter COR
Factory Method Bridge Command
Builder Composite Iterator
Prototype Decorator Interpreter
Singleton Facade Mediator
Proxy Memento
Flyweight Observer
State
Strategy
Template Method
Visitor

Relationship for Each Design Pattern Relationship

'*COR here refers to the Chain of Responsibility Design Pattern.'

Extension points exported contracts — how you extend this code

browse all types & interfaces →

Core symbols most depended-on inside this repo

browse all functions →

Shape

Method 374
Class 119
Interface 20
Enum 2

Languages

Java100%

Modules by API surface

Structural/Composite/Java Implementation/CompositeDesignPattern/src/main/java/Individual/BaseShape.java14 symbols
Structural/Composite/Java Implementation/CompositeDesignPattern/src/main/java/Composite/CompoundShape.java14 symbols
Structural/Composite/Java Implementation/CompositeDesignPattern/src/main/java/Component/Shape.java11 symbols
Structural/Composite/Java Implementation/CompositeDesignPattern/src/main/java/Client/ImageEditor.java11 symbols
Creational/Builder/Java Implementation/BuilderDesignPattern/src/main/java/Product/Car.java10 symbols
Structural/Bridge/Java Implementation/BridgeDesignPattern/src/main/java/TV.java9 symbols
Structural/Bridge/Java Implementation/BridgeDesignPattern/src/main/java/Radio.java9 symbols
Structural/Bridge/Java Implementation/BridgeDesignPattern/src/main/java/Abstraction/Device.java9 symbols
Structural/Proxy/Java Implementation/ProxyDesignPattern/src/main/java/ThirdPartyYouTubeClass.java8 symbols
Structural/Decorator/Java Implementation/DecoratorDesignPattern/src/main/java/ConcreteDecorator/CompressionDecorator.java8 symbols
Creational/Builder/Java Implementation/BuilderDesignPattern/src/main/java/ConcreteBuilder/CarManualBuilder.java8 symbols
Creational/Builder/Java Implementation/BuilderDesignPattern/src/main/java/ConcreteBuilder/CarBuilder.java8 symbols

For agents

$ claude mcp add Design-Patterns \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page