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.


  • 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


Popular posts from this blog

Programmer's Guide to Dealing With Different Time Zones

How to deal with cache stampede in MySQL