Code Monkey home page Code Monkey logo

saurav-low-level-design-template's Introduction

Saurav's Low Level Design Template ๐Ÿ’ป ๐Ÿš€

The repository holds the implementation of Design Patterns in Java. Feel free to fork the repo and use it for understanding, modifying and trying out the implementation in real time.

Design Patterns implemented ๐Ÿ”ฅ

Pattern 1: Singleton Pattern ๐Ÿ”’

  1. Lazy Implementation View Code
  2. Synchronized Implementation View Code
  3. Eager Implementation View Code

Pattern 2: Decorator Pattern ๐ŸŽจ

  1. Alternate Implementation View Code
  2. Headfirst Design Book Example View Code
  3. Newsletter Example View Code
    1. Class Explosion Implementation View Code
    2. Alternate Implementation (violates Open-Closed principle) View Code
    3. Effective Implementation (Decorator Pattern) View Code

Pattern 3: Factory Method Pattern ๐Ÿญ

  1. Headfirst Design Book Example View Code
    1. Inefficient Implementation View Code
    2. Simple Factory Pattern View Code
    3. Factory Method Pattern View Code
  2. Newsletter Example View Code
    1. Inefficient Implementation View Code
    2. Simple Factory Pattern View Code
    3. Factory Method Pattern View Code

Pattern 4: Command Pattern โšก

  1. Headfirst Design Book Example View Code
  2. Newsletter Example View Code

Pattern 5: Observer Pattern ๐Ÿ”

  1. Headfirst Design Book Example View Code
    1. Inefficient Implementation View Code
    2. Atual Implementation View Code
    3. Java In Built Implementation View Code
  2. Newsletter Example View Code

Pattern 6: Strategy Pattern ๐Ÿ”ฑ

  1. Newsletter Example View Code

Pattern 7: Facade Pattern โ›…

  1. Newsletter Example View Code

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.