954,595 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

How do you combine UML and Normalization?

im making a ASP.NET web application using a serverside database.
Hi :),
im making a ASP.net web application with a sqlserver backend database.

i have been requested to provide both UML and ERD/Normalization

i can do both of these techniques individually to a reasonable standard, however i am unsure about how they relate to each other?

for example if i do UML class diagrams first, does that mean all of the attributes in the class have to be in the same DB table?

if i do the normalization first i dont see how that helps with the UML?

The way im thinking of it at the moment is that the UML is just a way of sorting out the C# classes in ASP.net, and has nothing to do with the storage of the data (and therefore the ERD/normalization), and while classes may have several attributes - they dont need to be in the same table in the RDBMS - does that sound anywhere near right?

thanks :)

loveforfire33
Light Poster
42 posts since Feb 2009
Reputation Points: 10
Solved Threads: 0
 

That sounds about right to me. If the program is data centered (as is probable in this environment), start with the data design, normalize the schema, and see how that affects your UML layout. Or vice versa if the program is calculation centered.

Most web services deal with an MVC architecture where the Model is the data (ERD used here), the View is as set of slices through the data (and the UML may be interesting here) and the Controller is most often a set of legal changes implemented over the data seen in a particular view.

griswolf
Veteran Poster
1,165 posts since Apr 2010
Reputation Points: 344
Solved Threads: 256
 

ERD/normalisation are for database design. Nothing to do with programming - totally independent of it in fact.

UML is for object orientated design. To do with programming.


Two different subjects.

drjohn
Posting Pro in Training
448 posts since Mar 2010
Reputation Points: 76
Solved Threads: 80
 

I guess drjohn has a much more restricted view of "programming" than I do. A well designed schema makes it ever so much easier to create the rest of the application than would be possible with a chaotic or 'it just grew that way' schema.

griswolf
Veteran Poster
1,165 posts since Apr 2010
Reputation Points: 344
Solved Threads: 256
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You