dcsimg
when we should use class diagrams and when we should use use-case diagrams?
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   mintux
Posted On:   Thursday, October 31, 2013 04:01 AM

i'm php developer using MVC architecture that i'm new to UML i know use-case , class , object , activity, sequence diagrams but i don't know for modeling a application where i should start. i know use-case and class diagrams are structural diagrams and activity and sequence are behavior diagrams   but my questions are: 1. for modeling a app when i should use use-case diagram and when i should use class diagram? 2. does class diagram has abstract concept? because when i'm developing web app i have some controller and model or view also several classes that i use for different purpose (like insert data to database - validate form inputs and so on) but they don't look like to examples of class diagram that i'v seen until no   More>>

i'm php developer using MVC architecture that i'm new to UML
i know use-case , class , object , activity, sequence diagrams but i don't know for modeling a application where i should start.
i know use-case and class diagrams are structural diagrams and activity and sequence are behavior diagrams
 
but my questions are:
1. for modeling a app when i should use use-case diagram and when i should use class diagram?
2. does class diagram has abstract concept? because when i'm developing web app i have some controller and model or view also several classes that i use for different purpose (like insert data to database - validate form inputs and so on) but they don't look like to examples of class diagram that i'v seen until now so my question is class diagram is used for show concept of our system and it doesn't need to generate real class code form it ? 
 
for example modeling a ticket reservation that may have some classes like this:
but we don't write class codes like this and it can be different in programming but for view the concept we are using class diagrams . is it true ?
   <<Less

Re: when we should use class diagrams and when we should use use-case diagrams?

Posted By:   moon02  
Posted On:   Saturday, February 1, 2014 01:42 AM

Hi,
Personally, I am trying to model a job website to go to the development section with symfony 2. I have a use case diagram to understand the functioning of the system and in particular to implement the needs of users. Then I went to the preparation of class diagram in order to generate the database and the classes used.
About | Sitemap | Contact