I'm trying to map my whole application in a UML diagram and I'm wondering which UML what diagram type I should use; I'm not doing this in class level, but rather from a bird eye's perspective.
The开发者_JAVA技巧 elements I am trying to capture are:
- single application object (patterns: singleton)(examples: CodeIgniter application) that composes
- multiple module objects (patterns: singleton, facades)(examples: guestbook, addressbook) that compose
- multiple low level stand alone objects (examples: mysql mapper, doctrine mapper) that compose
- various 3rd and in-house libraries (examples: doctrine, solr, xml-parser)
What UML diagram is suited for this kind of overview presentation?
Sounds like you're looking for component diagrams.
From http://www.ibm.com/developerworks/rational/library/dec04/bell/
The component diagram's main purpose is to show the structural relationships between the components of a system.
One way would be to do several alternative diagrams and just link them together, it might not be good to include all aspects to one... My favourite is the unorthodox activity diagram (content over "appearance"). But as this blog entry says: to whom are you talking with that diagram?
I would think a package diagram would be ideal for a situation like this.
精彩评论