Thursday, August 20, 2015

Dependency Injection

Dependency Injection:The Processor is dealing with  hats,the hats represents the interface. the composer (example DI containers) is providing the real implementation before calling the processor

Reference

Friday, August 14, 2015

Interface Segregation Principle

Interface Segregation: Split the large interface into smaller units based upon clients requirements and architectural requirements.

Reference:

Thursday, August 13, 2015

Liskov Substitution Principle


Liskov Substitution Principle: When you are creating derived class it should  honor the base relationship with clients.

Reference:

Thursday, August 6, 2015

Open Closed Principle

Open Closed Principle-Do not allow future changes to existing classes and assemblies. If there is a change required in future, create new code that can extend the existing code.

Reference: