GithubHelp home page GithubHelp logo

designpatterns-44's Introduction

Design Patterns Dojo

This project was created to refine my knowledge of design patterns. It is based on the Design Pattern Library found on Pluralsight.

Adapter

Adapters can abstract a make collection non-conforming classes confirm to a common abstraction. Can also be a type of wrapper.

Example:

  • ADO .NET
    • IDataAdapter
      • OdbcDataAdapter
      • OleDbDataAdapter
      • SqlClientDataAdapter

Bridge

A way to connect two abstractions so that the concrete implementations are connected but can be extended independently. Two abstract classes, where one composes of the other. "Decouple an abstraction from its implementation so the two can vary independently." (GOF)

Builder

Separates the construction of a complex object from its representation so that the same construction process can create different representations. Useful when the order of the method calls to build the object is important.

Chain of Responsibility

Like a linked list of nodes that propagates a method call until one of the nodes can handles it. Always call the head method and one of the nodes will return the handled result via the chain.

Command

Composite

Decorator

Event Aggregator

Facade

Factories

Flyweight

Interpreter

Iterator

Lazyload

MVP

MVVM

Mediator

Memento

Null Object

Observer

Prototype

Proxy

Repository

Rules

Service Locator

Singleton

State

Strategy

Template Method

Unit of Work

Visitor

designpatterns-44's People

Contributors

peterneave avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.