• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Categorization of Design Patterns

 
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Author
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
reply
    Bookmark Topic Watch Topic
  • New Topic