• 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
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

Pattern and UML questions

 
Ranch Hand
Posts: 155
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am bit confused with patterns.
I've few questions regarding pattern.
1> Is a design pattern different from pattern?
2> Can pattern present a set of alternative solutions rather than one?
3> How many patterns are their?
Their is one question regarding UML.
Q. How UML relate to Booch or other modeling languages?
thanks, in advance
shivani
 
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
question 1
well design patterns are just patterns that software developers have come across time and agin
question 2
not quite sure what you mean.
question 3
well i belive there are 23 BASE patterns but lots of variations of the base patterns.
question 4
well i dont know exactly what booch modeling language was before he helped to create uml but i would guess that it takes parts from his modeling language and either extends or is taken directly?
is this correct guys/gals?
 
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Patterns are design patterns
I don't know how many patterns there are, but people come up with new ones everyday. The "standard" patterns are defined in the GoF book, and explored for java in Mark Grands Patterns in Java Vol 1. I think you might find that at the start of a design one or two patterns might fit the bill, but after a few design iterations only one pattern really does what you need and allows the design to be flexible in a way you need. UML was created when Booch & co combined their three different approachs and eliminated the redundancies.
 
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

The question 4 was discussed and answered already, just go to this link:
http://www.javaranch.com/ubb/Forum9/HTML/000207.html
 
A lot of people cry when they cut onions. The trick is not to form an emotional bond. This tiny ad told me:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic