• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Categorization of Design Patterns

 
Anurag Narayan
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Design Patterns are categorized in three groups creational,structural and behavioral. I have read lot of definition on net but none of them make sense to me. For example, creational is defined as patterns which are used to create objects. Are'nt most of design patterns used to create objects?
Can anyone explain in simple english on how these three categories diffenert from each other, unlike difficult definitions on net?
Thanks,
Anurag Narayan
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Anurag Narayan wrote:Are'nt most of design patterns used to create objects?

No; most don't. The Wikipedia entry for design patterns has the classifications and a list of the patterns in each.

I'm not sure what's giving you issues with regards to the definitions:

Creational: patterns related to object creation.
Structural: patterns related to the relationships between objects.
Behavioral: patterns related to the communication between objects.

Those are paraphrased from the Wikipedia entries for each of those classifications: what specifically don't you understand?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic