GeeCON Prague 2014*
The moose likes OO, Patterns, UML and Refactoring and the fly likes Design Principles vs Design Patterns ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Engineering » OO, Patterns, UML and Refactoring
Bookmark "Design Principles vs Design Patterns ?" Watch "Design Principles vs Design Patterns ?" New topic
Author

Design Principles vs Design Patterns ?

Ludwin Barbin
Author
Ranch Hand

Joined: Jul 29, 2009
Posts: 30
    
    5
Many of us are familiar with GOF patterns, JEE Core patterns, etc...

What about Design Principles such as SOLID, GRASP, OO Principles ?

Is there any difference between the two concepts? Or how are they related?


-- Ludwin Barbin
E Armitage
Rancher

Joined: Mar 17, 2012
Posts: 892
    
    9
Design principles are the desirable goals that one aims to achieve. Design patterns are tools one can use to realize those goals.
It's therefore better to learn design principles first because then you can easily understand what (and why) a pattern is trying to achieve.
Ludwin Barbin
Author
Ranch Hand

Joined: Jul 29, 2009
Posts: 30
    
    5
E Armitage wrote:Design principles are the desirable goals that one aims to achieve. Design patterns are tools one can use to realize those goals.
It's therefore better to learn design principles first because then you can easily understand what (and why) a pattern is trying to achieve.


You're spot on!

Design Patterns are very popular and have complete catalogues and the resources/references for them can easily be found.

But Design Principles have been scattered and disorganized, and became confusing for many. My book "Software Design Principles" is a compilation of these principles and untangle all the confusions.
T. Sharma
Author
Ranch Hand

Joined: Jul 30, 2013
Posts: 47
    
    5
Design principles are guidelines to be followed throughout the software development process. Design patterns are well accepted solutions to recurring design problems. In other words: design patterns employ design principles.


Tushar Sharma (Twitter: @Sharma__Tushar)
http://sharmatushar.blogspot.in/
 
GeeCON Prague 2014
 
subject: Design Principles vs Design Patterns ?