Mapping Between Views - SENG-350-2024-fall/Team-8 GitHub Wiki

Mapping Between Views

Mapping Between Package View and Component View

Package View provides a high-level logical organization of the system, dividing it into the Front End Package, Back End Package, and Data Layer Package. These packages align with specific subsystems and components in the Component View:

  • Front End Package elements such as Pages and Components map to the Homepage Subsystem and User GUI component in the Component View
  • Back End Package (JSON Server) maps to backend subsystems including Support System, Account System, Appointment Service, Triage Service, Dispatch Service in the Component View
  • Data Layer Package elements such as Users, Notifications, and Queue appear as the components Accounts, Dispatch Request, and Triage Queue in the Component View
Package View Component View
Pages User GUI
States User Session
JSON Server Appointment Service, Account System
Notification Dispatch Service
Queue TriageQueue

Mapping Between Package View and DFD View

The DFD Level 0 View provides a functional flow of data within the system, which directly relates to the Package View:

  • Pages and API Clients in the Front End Package represent the primary entry points for user interactions which aligns with the Triage, User Management, and Support Ticket processes in the DFD View because these processes are central to the system's functionality, inherently making them the busiest and most frequently accessed parts of the application
  • Back End Package (JSON Server) is involved in all processes in the DFD View because, by illustrating the data flows in our system, it focuses on the creation, storage, retrieval, and modification of data, all of which are managed by the back end
  • Data Layer Package aligns with the User Management, Notifications, and Triage processes in the DFD View because these processes directly interact with its elements (Users, Notifications, and Queue)
Package View DFD view
Pages Triage, support ticket
States User Session
Back End Schedule, System Logs, Capacity, User management
Notifications Dispatch, Notifications
Queue Capacity

Mapping Between component View and Deployment View

The Component View outlines the building blocks of the system, while the Deployment View shows where and how these components are deployed. The relationship between the two views ensures that the structure of the system is in line with its implementation.

component View Deployment view
User User device
Triage service Triage system
Authentication Auth service
Dispatch service Notification system
Appointment service booking system
User GUI Web Application
Support System Support System