Diagrams are graphical representation of a set of elements most often shown made of things and associations.
Major three types of modeling are structural, behavioral, and architectural.
Modeling diagrams that are commonly used are, there are 9 of them.
- Use Case Diagram - Use Case Diagram describes “HOW” the system works. It identifies the primary elements and processes that form the system. It shows “actors” and their “roles”
- Class Diagram - This diagram explores detail design of the system. The class diagram is designed using Use Case diagram. We can identify all “Nouns” in use cases as classes and “verbs” as method of the classes.
- Object diagram - This diagram represents the state of classes in the system and their relationships or associations at a specific point of time.
- State Diagram - This diagram represents different states that objects in the system undergo during their life cycle.
- Sequence diagram - This diagram is used to explore logic of complex operations, function or procedure. In this diagram, sequence of the interactions between the objects is represented step by step.
- Collaboration diagram - This diagram groups together the interaction between different objects.
- Activity diagram - Activity diagram gives detail view of the business logic.
- Deployment diagram - It shows deployment view of the system. It shows how hardware and software works together to run system.
Architecture is not only taking care of the structural and behavioral aspect of a software system but also taking into account the software usage, functionality, performance, reuse, economic and technology constraints.