Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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: 46
    
    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/
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Design Principles vs Design Patterns ?
 
Similar Threads
books for advanced java
Software Design Principles (50 page e-book)- The contents of the book.
any good design patterns books?
Alternative to GoF patterns?
which design pattern book?