Coder Social home page Coder Social logo

design-pattern's Introduction

Design Pattern

An architectural pattern is a general, reusable solution to a commonly occurring problem in software architecture within a given context. The architectural patterns address various issues in software engineering, such as computer hardware performance limitations, high availability and minimization of a business risk.

Design pattern is a documented best practice of a solution that has been applied successfully to solve a problem that recurs a specific set of situations. In a short we can say recuring solution to a common problem in a given context. GOF devide design patterns in 3 types i) Creational Design Pattern: The patterns which are responsible for creating objects. Ex: Factory, Builder, Singleton etc. ii) Structural Design Pattern: The patterns which are responsible for assembles objects. and classes to create better strucutre for efficiency and flexibilities. Ex: Adapter, Bridge, Facade etc. iii) Behaviour Design Pattern: The patters which are assign responsiblities between objects. Ex: State, ChainOfResponsibility, TemplateMethod etc.

Here I demonastrate few important design patterns that can be use in real life application/api development:

  1. Strategy
  2. Facade
  3. Factory
  4. Singleton
  5. Specification
  6. Adapter
  7. Decorator
  8. Proxy
  9. Repository
  10. Mediator
  11. NullObject
  12. ChainOfResponsibility
  13. Builder
  14. Template Method
  15. State
  16. Observer

design-pattern's People

Contributors

bappi9 avatar

Stargazers

Hafiz Ahmed avatar Prosonul Haque avatar  avatar

Watchers

James Cloos avatar  avatar

Forkers

prosonulhaque

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.