Code Monkey home page Code Monkey logo

boilerplates's Introduction

BoilerPlates

This repo only contains the Low Level designs for given requirements

Web Link

https://learningslab.github.io/BoilerPlates/

Few Designs Included

  • Design a Task Planner
    • Class Diagram
    • Boiler Plate Code
  • Design a Snake and Ladder
    • ClassDiagram
    • Boiler Plate Code
  • Design a Parking Lot
    • Boiler Plate Code
    • Working Code
  • Design Splitwise
    • Boiler Plate Code
  • Design a Login library
    • Boiler Plate Code

To be added

  • Design a Delivery Route Service for Warehouses/Kitchens
  • Design a Subscription Service
  • Design a Tic Tac Toe
  • Design a Chess Game
  • Design Google Photos
  • Design Data Migrator Tool
  • Design a Job Scheduler
  • Design a Web Crawler

Common Design Pattern Use Cases

Adapter Design Pattern

  • It combines the two incompatible interfaces/components so that client or other code changes can be avoided

Builder Design Pattern

  • When we have multiple attributes which can just explode the no of constructors of that class. Using Builder Pattern we can just create the immutable object.

Factory Design Pattern

  • when we need to create different types of objects in the application. Factory pattern helps in organising the code

Fly Weight Design Pattern

Singleton Design Pattern

  • when we just need to have single object of the class thoughtout the application

Decorator Design Pattern

Strategy Design Pattern

Prototype Design Pattern

Proxy Design Pattern

Want to Contribute ??

Add/Update a Design Problem

  • Goto Branch gh-pages
  • Create a md file of the problem
  • Add Different sections Like
    • Requirements
    • Transaltion to Model/Services
    • Use Case Diagram
    • Class Diagram
    • Code Link
    • Design Trade Offs
  • Raise the PR for gh-pages branch

Add/Update a Diagram/Code

  • Goto Branch main
  • Goto Directory of the design problem
  • Add the class diagram for the requirements given for the problem in gh-pages branch
  • Raise the PR for main branch

boilerplates's People

Contributors

mkumar9009 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.