This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

UML Class Diagrams

 
Gagan Sabharwal
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I intend to make class diagrams for an existing database set up.I have RAD 6 as an IDE/tool. Any pointers for the above situation?
 
Peer Reynders
Bartender
Posts: 2968
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
1.) Tables aren't classes. If you are simply looking for a for a UML profile for representing databases then have a look at A UML Profile for Data Modeling.

2.) The existing entity-relationship model is not a good foundation for the creation of an object model. Some tools do this type of conversion because people keep asking for it. Existance of these tools should not be construed as endorsement towards a best practice because it isn't. Useful tools help you map between an existing relational model and an existing object model. Both models serve different purposes and need the freedom to evolve separately. See why:

Agile Data: Object Relational Impedance Mismatch
Agile Data: Mapping Objects to Relational Databases: O/R Mapping In Detail
Agile Data: Introduction to Object-Orientation and the UML

See also: Oo Patterns Uml Refactoring Faq: Design
[ April 29, 2008: Message edited by: Peer Reynders ]
 
Ilja Preuss
author
Sheriff
Posts: 14112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What Peer said!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic