Design Patterns

Do not reinvent the wheel. Just realign it.
When it comes to software world, most design level problems are already solved. Design Patterns are blueprints of these solutions which you can customize and use in your application.

Advantages:

  • Tried and tested solutions be experienced developers.
  • It helps improve developer communication. Every developer knows what a 'Singleton' is, right?

Common Design Patterns

Creational design patterns

  • Abstract Factory
  • Builder
  • Factory Method
  • Object Pool
  • Prototype
  • Singleton

Structural design patterns

  • Adapter
  • Bridge
  • Composite
  • Decorator
  • Facade
  • Flyweight
  • Private Class Data
  • Proxy

Behavioural design patterns

  • Chain of responsibility
  • Command
  • Interpreter
  • Iterator
  • Mediator
  • Memento
  • Null Object
  • Observer
  • State
  • Strategy
  • Template Method
  • Visitor

Comments

Popular posts from this blog

How to deal with cache stampede in MySQL

Programmer's Guide to Dealing With Different Time Zones

How I learned React.js and Node.js from scratch in a few months