aspose file tools*
The moose likes OO, Patterns, UML and Refactoring and the fly likes MVC and UML : Architecture and Modeling Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » OO, Patterns, UML and Refactoring
Bookmark "MVC and UML : Architecture and Modeling" Watch "MVC and UML : Architecture and Modeling" New topic
Author

MVC and UML : Architecture and Modeling

Ben Hayce
Greenhorn

Joined: Jun 05, 2010
Posts: 3
Hi there,

Suppose I'm making a class diagram for my application...

Does it differ weteher I'm using MVC architecture or not?

Thank you!
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

A class diagram is a class diagram--it diagrams classes.
Ben Hayce
Greenhorn

Joined: Jun 05, 2010
Posts: 3
Thank you David,

I have an other question still about class diagrams:

Suppose I have categories of profiles: admins, users, and visitors.

Can I use inheritance although later in the database I'll just keep a field called 'role'?

Thank you.
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

No way to answer that question out of context.
Ben Hayce
Greenhorn

Joined: Jun 05, 2010
Posts: 3
In a website, visitors register then login, admins are users but with extra capabilities.

I know that this doesn't bring anything new, but this is my context, I got confused since in the database admins and registered users differ only by with 'role' property.
Visitors don't have any entry in the database.

Ask me if the context isn't clear yet.
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

I understand what you're trying to do, I just don't understand the question.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: MVC and UML : Architecture and Modeling