Bob Martin's principles

From CSSEMediaWiki
(Difference between revisions)
Jump to: navigation, search
 
m
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
See [[http://www.tek271.com/articles/pood/PrinciplesOfOOD.java.html Principles Of Object Oriented Design]] for examples.
+
'''Bob Martin's Principles of OOD'''
 +
 
 +
Martin does not claim to have invented the ideas he writes about, but he is among their foremost articulators.
 +
 
 +
Martin's articles can be found in the resources section of [http://www.objectmentor.com/ Object Mentor].
 +
 
 +
== Principles of class design ==
 +
* (SRP) The [[Single responsibility principle]]
 +
* (OCP) The [[Open closed principle]]
 +
* (LSP) The [[Liskov substitution principle]]
 +
* (ISP) The [[Interface segregation principle]]
 +
* (DIP) The [[Dependency inversion principle]]
 +
 
 +
The five principles above are known as SOLID (from their first letters).
 +
 
 +
== Principles of package cohesion ==
 +
* (REP) The [[Reuse release equivalence principle]]
 +
* (CCP) The [[Common closure principle]]
 +
* (CRP) The [[Common reuse principle]]
 +
 
 +
== Principles of package coupling ==
 +
* (ADP) The [[Acyclic dependencies principle]]
 +
* (SDP) The [[Stable dependencies principle]]
 +
* (SAP) The [[Stable abstractions principle]]
 +
 
 +
== See also ==
 +
* [[Bob Martin]]
 +
* A very nice presentation from Bob Martin on the SOLID principles:[[http://www.infoq.com/presentations/principles-agile-oo-design|The Principles of Agile Designs]]
 +
* [http://www.tek271.com/articles/pood/PrinciplesOfOOD.java.html Principles Of Object Oriented Design] for examples.
 +
 
 +
[[Category:Bob Martin's principles]]

Latest revision as of 07:12, 7 October 2010

Bob Martin's Principles of OOD

Martin does not claim to have invented the ideas he writes about, but he is among their foremost articulators.

Martin's articles can be found in the resources section of Object Mentor.

Contents

Principles of class design

The five principles above are known as SOLID (from their first letters).

Principles of package cohesion

Principles of package coupling

See also

Personal tools