Question

i learn some uml diagram such as use-case , activity and sequnce digaram and i have a website project that include two part of user, normal user and place holder user and this website is all about register and share place then people find and reserve it place.but i don't know how can i start?for exmaple first create a use-case diagram that include two actors "Normal user" and "Place holder" and a use case "Place" and connect them together and then make sub diagram for details?or create all use cases and all actors that this system needs in one page?most of tutorial i see is about some basic learning but in real world i don't know what is the steps for modeling.is there any completed project using uml that i get sample from it?

Était-ce utile?

La solution

Distinguish between individual Diagrams and the Model as a whole.

Your fundamental job is to capture everything into the Model. The individual diagram are views into the model that let someone understand the model. For a large model it's often helpful to have individual diagrams that just show some related parts. The key is to use a modelling tool that ensures that all the diagrams are consistent - for example if you change the name of an actor in one diagram that change is reflected in the model and hence to all other diagrams.

In your case I would start by putting everything on one page, when that gets a bit crowded split the diagram up. It's quite reasonable to have say, one diagram for one user showing their use cases and then another diagram that pulls together some related use cases used by both actors. The same use case may appear in several diagrams.

Don't focus on the diagrams themselves, focus on capturing and organising the requirements. You want to be sure you have captured all the requirements and can easily find related requriements. Draw the diagrams that help you do that.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top