Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Learning design pattern

 
Yewint Ko
Ranch Hand
Posts: 90
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi evervbody...
I seriously want to learn Design patterns. Can anyone tell me the best book for it please.
 
sambasiva kumar
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Try this URL

www.patterndepot.com/put/8/DesignJava.PDF

and also look out for the book "Gang of Four" for basics of design patterns
 
Vamsi Mohan
Ranch Hand
Posts: 80
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What don't you try HeadFirst Design Patterns. It is very easy to understand and helpful to you.
 
Laurent Leonard
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sometimes the words "design patterns" are misused.
When you choose the architecture of the application, you could use Architectural patterns (Active repository, Layering, Pipes and filters, ...)
When you design the application, you could use GRASP Pattern (Creator, my Creator is my saver, Low coupling, ...)
When you implement the application, you could use implementation or design patterns (Gang of four have some patterns, Kent Beck have also some: chain of responsability, proxy, factory method, ...)

Of course there are links between these different patterns.

My favorite books are
- Implementation patterns : Kent Beck (addison-wesley signature series) 160 pages
- Design patterns : Erich Gamm et al (addison-wesley) 400 pages
- Applying UML and patterns : Craig Larman (Prentice Hall) 700 pages
- Patterns of enterprise application architecture : Martin Fowler (addison-wesley signature series) 530 pages


 
Alaa Nassef
Ranch Hand
Posts: 471
Hibernate Mac OS X Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Laurent Leonard wrote:
My favorite books are
- Implementation patterns : Kent Beck (addison-wesley signature series) 160 pages
- Design patterns : Erich Gamm et al (addison-wesley) 400 pages
- Applying UML and patterns : Craig Larman (Prentice Hall) 700 pages
- Patterns of enterprise application architecture : Martin Fowler (addison-wesley signature series) 530 pages


I would like to add Head First design patterns to the list
 
Sachin Ambe
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Vamsi Mohan wrote:What don't you try HeadFirst Design Patterns. It is very easy to understand and helpful to you.

I second that - the Head First book will get you up and running with the more popular Design Patterns right away. I found reading about Refactoring and TDD also very helpful. HTH.
 
Tadili Saad
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Usually I don't like the head first series, but the one on design patterns was pretty good.
 
Muhammad Khojaye
Ranch Hand
Posts: 449
IntelliJ IDE Java Scala
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can also try oodesign and JavaCamp.org for references. Good luck
 
Gary Ba
Ranch Hand
Posts: 161
Firefox Browser Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I agree. Head First Design Pattern is a very good book and easy to read. Lots of picture
 
Hong Anderson
Ranch Hand
Posts: 1936
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I recommend Design Patterns [GoF], I do not recommend Head First Design Patterns because it doesn't cover all design patterns in detail.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic