Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Having trouble with deployment diagram

enter image description here

I am very new to UML and I am trying to make a deployment diagram for my web application. I am using MVC architectural pattern but I am unsure if this should be included. I am also using mongodb, nodejs, express, and handelbars. How can I show this on my diagram?

like image 361
unconditionalcoder Avatar asked Mar 07 '16 00:03

unconditionalcoder


People also ask

Which of the following is incorrect in the deployment diagram *?

7. Which of the following is incorrect in the deployment diagram? Explanation: Communication paths are represented by solid lines and not dotted lines. 8.

Why is deployment diagram important?

Lots of activities help ensure that users get the best software solutions. For instance, developers need to test how some software solutions interact with hardware and other software. This is where deployment diagrams come in. They help developers visualize how their software interacts with hardware and other software.

How do you explain a deployment diagram in a presentation?

A deployment diagram shows how the finished system will be deployed on one or more machines. A deployment diagram can include all sorts of features such as machines, processes, files and dependencies. A deployment diagram is used to show the allocation of artifacts to nodes in the physical design of a system.


2 Answers

I also agree with Thomas Kilian. In a deployment diagram, it's better if we can mention the specific components to get a clear idea on the physical network (hardware) configurations on which your software is deployed and run.

FYI, I am a uni student and came up with the following deployment diagram while preparing a Software Architecture Document for a Node+Express+Mongo web application. Hope you can get some idea from it too.

enter image description here

like image 106
Thilina Ashen Gamage Avatar answered Oct 18 '22 03:10

Thilina Ashen Gamage


It depends on your audience. Just putting three boxes in with the text MVC is rather pointless. You might show details as to where a MVC pattern is used concrete. But I guess, this should go elsewhere (in the class design). Your deployment diagram should just show how the components are deployed (i.e. on which hardware you have which software/library).

like image 43
qwerty_so Avatar answered Oct 18 '22 02:10

qwerty_so