Transcript
Page 1: Diagramming the Architecture

Diagramming the Architecture

Praveen Nair

K-MUG TechDay 19 August 2017

Page 2: Diagramming the Architecture

About the Speaker

Praveen

Page 3: Diagramming the Architecture

SSADM, RUP, UML…

Page 4: Diagramming the Architecture

Why

• “What types of diagram should we draw?”

• “What notation should we use?”

• “What level of detail should we present?”

• “Who is the audience for these diagrams?”

• “What technology?”

• “What are the meanings of boxes and arrows?”

Page 5: Diagramming the Architecture

A Shared Vocabulary

Page 6: Diagramming the Architecture
Page 7: Diagramming the Architecture

C1 – System Context• The system users & dependencies

C2 – Containers• Overall shape & Technology Choices

C3 – Components• Logical components & their interactions

C4 – Classes• [optional] – class diagrams

Overview first,

zoom and filter,

then details-on-demand

Page 8: Diagramming the Architecture

Example: Reporting Tool

Page 9: Diagramming the Architecture

Context Diagram

MyReports v1.0[Software System]

HRMS 2017[Software System]

Triton 01[Software System]

Triton 02[Software System]

Finance Dept. User

[Person]

Employee from finance dept.

HR User[Person]

User from HR Dept.

Administrator[Person]

A system admin user

View, download, printfinance reports

View HR reports

Add/remove users,Manage roles

Get employeedata from

Get Kochi specificfinance data from

Get Mumbai specificfinance data from

Page 10: Diagramming the Architecture

Container Diagram

Relational Database[Container: SQL Server 2016]

Stores HR and Triton Data

HRMS 2017[Software System]

Triton 01[Software System]

Triton 02[Software System]

Finance Dept. User

[Person]

HR User[Person]

Administrator[Person]

Content Updater[Container: SSIS]

Data Synchronizer

Reporting Tool [Container: Power BI]

Allows users to view reports

Uses[HTTPS]

Uses[HTTPS]

Uses[HTTPS]

Reads data from[SQL, Port: 1433]

Writes to

Reads data from[SQL Server, Port: 1433] Reads data from

[SQL Server, Port: 1433]

Reads data from[SQL Server, Port: 1433]

System boundary

Page 11: Diagramming the Architecture

Example: techtribes.je

Page 12: Diagramming the Architecture

Context Diagram

Page 13: Diagramming the Architecture

Context Diagram

Page 14: Diagramming the Architecture

Context Diagram

Page 15: Diagramming the Architecture

Sources

• http://www.codingthearchitecture.com/

• https://c4model.com/

• Simon Brown’s books


Recommended