Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

UML packages and classes

 
Walter Vetrivel
Ranch Hand
Posts: 80
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I came across this ques in a brainbench and dont recall the choices of answers given,
Ques: How do you group classes into packages, i.e with what principles of object oriented programming do you decide that a particular class should lie in a particular package?
any suggestions please, Iam referring the Uml distilled by fowler and have not found an answer yet, any online resource where I could check for an answer for this question?
Thanks
WV
 
Nitin Chand
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Packages are primarily intended as access and configuration control mechanisms to permit developers,particularly in large in larger workgroups,to organize large models and evolve them without getting in each others way.
When i say that i am changing i/o mechanism of my project i would give a new version of my xyz.io package.
(in order to reduce dependencies with other packages i have already used facade do no probs)
Package also group elemets that must be compiled together. If a change to one element forces the recompilation of other elements, then they might also be placed in one package.
For further information see Reference Manual page 381
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic