aspose file tools*
The moose likes OO, Patterns, UML and Refactoring and the fly likes Classification of 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 "Classification of Design Patterns" Watch "Classification of Design Patterns" New topic
Author

Classification of Design Patterns

Jithu Joijoide
Greenhorn

Joined: May 14, 2001
Posts: 17
Hello all,
I want to know which is the best way to classify the Design patterns. How exaclty Design Patterns are grouped.
Thanks in advance
Jithu
Laojar Chuger
Ranch Hand

Joined: Dec 20, 2000
Posts: 111
Check the GOF book, which is classic and authoritive source for the design pattern.
Sanjeev Arya
Ranch Hand

Joined: Feb 13, 2001
Posts: 58
Hi Jitender
I am not sure what angle you are looking at:
Abstractly speaking, GoF should help you like someone else has already pointed out. You can satisfy your hunger in a few seconds at a local bookstore because the patterns are neatly categorized in the inner flap of the book itself (back of the cover) so you don't have to even browse inside if that's all you need. Major categories are structural, Creational, Behavioral, etc...
If you are interested in more implementation oriented aspects, I have even seen something like "EJB Design Patterns" at the Sun java site.
cheers
Sanjeev
Desai Sandeep
Ranch Hand

Joined: Apr 02, 2001
Posts: 1157
I would suggest you go for GOF book along with a Java Design Patterns - A Tutorial.It compliments GOF so well
-- Sandeep
Sanjeev Arya
Ranch Hand

Joined: Feb 13, 2001
Posts: 58

Hi Jitender,
My 2 cents... A guru on patterns told me that all Java patterns books "miss the whole point" very badly. This is current as of 2 weeks ago. I am not denouncing any recommendations others have made in this thread or others, just telling you one guru's opinion which guided me when I was searching for pattern books. His only recommendation till date is GoF. I have used it and it is definitely neat and to-the-point.
I generally browse the book at the bookstore and read amazon's reviewer comments before buying it. Its amazing how true and well-researched are "most" of the reviews at the amazon site.
Hope it helps.
Sanjeev
Desai Sandeep
Ranch Hand

Joined: Apr 02, 2001
Posts: 1157
Also suggest you go through Java Design Patterns Vol. 1 and Vol 2 by Mark Grand.
-- Sandeep
Avijeet Dash
Ranch Hand

Joined: Jan 21, 2001
Posts: 148
this is a valid question and deservs some thought.
I have thought about it and many a time i want better ways of categorization.
creational, structural and behavioural is the common way depending on the nature of the patern.
the other way is looking where the pattern fits in the application tier, like presentation, workflow, data model related patterns. this is even better from a developer prespective.

the other way of classifying would be based on simillarities among the patterns, like many patterns suggest composition over inheritance. many patterns have simillar object heirarchy and collaboration with tricky differences. this classification is also helpful from memorizing patterns prespective.

there can be other better ways, can you guys do some educated guesses.

Jithu Joijoide
Greenhorn

Joined: May 14, 2001
Posts: 17
Hello all,
Thanks for every one for sending me useful info. Iam very much pleased with Avijeeth Dash 's reply. because i was thinking about different ways to organize patterns other than what the GOF says. So if some one has anyother idea , can u please come up with it ?
Thanks
Jithu
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Classification of Design Patterns