Monday, March 17, 2014

thumbnail

SOLID (object-oriented design)


In computer programming, SOLID (Single responsibility, Open-closed, Liskov substitution, Interface segregation and Dependency inversion) is a mnemonicacronym introduced by Michael Feathers for the "first five principles" named by Robert C. Martin[1][2] in the early 2000s[3] that stands for five basic principles ofobject-oriented programming and design. 

nitialStands for
(acronym)
Concept
SSRP
Single responsibility principle
a class should have only a single responsibility (i.e. only one potential change in the software's specification should be able to affect the specification of the class)
OOCP
Open/closed principle
software entities should be open for extension, but closed for modification.”
LLSP
Liskov substitution principle
objects in a program should be replaceable with instances of their subtypes without altering the correctness of that program.” See also design by contract.
IISP
Interface segregation principle
many client-specific interfaces are better than one general-purpose interface.”[4]
DDIP
Dependency inversion principle
one should “Depend upon Abstractions. Do not depend upon concretions.”[4]
Dependency injection is one method of following this principle.









COURTESY: http://en.wikipedia.org/wiki/SOLID_(object-oriented_design)


Subscribe by Email

Follow Updates Articles from This Blog via Email

No Comments

comments

About me

simple one.