Skip to content

Latest commit

 

History

History
40 lines (25 loc) · 1.64 KB

README.md

File metadata and controls

40 lines (25 loc) · 1.64 KB

Design Patterns and Solid Object oriented Design in Java

This is a repository with notes on how to implement Object oriented design patterns and principles using Java.

Not only it contains implementations of all the design patterns and principles it also documents the reason why these are best practises when designing your classes.

Design Principle

All the SOLID design principle have been implmented

where SOLID is an acronym where:-

S stands for SRP (Single responsibility principle)

O stands for OCP (Open closed principle)

L stands for LSP (Liskov substitution principle)

I stand for ISP ( Interface segregation principle)

D stands for DIP ( Dependency inversion principle)

Design patterns

Some of the design patterns implemented are

  1. Abstract Factory
  2. Adapter
  3. Command
  4. Decorators
  5. Factory
  6. Fly weight
  7. Inversion of Control
  8. Singleton
  9. Template

Will continue to add more in future.