# sapster186/2011-semester-project architecture

> Architecture diagram of the GitHub repository sapster186/2011-semester-project, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-18). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/sapster186/2011-semester-project
- Repository: https://github.com/sapster186/2011-semester-project

## Overview

Future Path is a Windows Forms advising application for Grade 11–12 learners and staff. Learners enter a profile, subjects, marks, and interests; the advising engine evaluates degree fit and produces outcomes and alternatives, followed by funding information and a printable summary. Career Advisors can review sessions and generate eligibility reports, while administrators maintain reference data. The graph reflects the documented workflow and sampled call relationships; several form and data-access implementations were not sampled, so some documented workflow links cite the README.

Main entry points: [`Controller/ReportController.cs`](https://github.com/sapster186/2011-semester-project/blob/master/Controller/ReportController.cs) (Summary and reporting), [`Boundary/UserAuth.cs`](https://github.com/sapster186/2011-semester-project/blob/master/Boundary/UserAuth.cs) (Sign-in), [`DataAccess`](https://github.com/sapster186/2011-semester-project/tree/master/DataAccess) (SQL data access), [`Boundary/LearnerProfileForm.cs`](https://github.com/sapster186/2011-semester-project/blob/master/Boundary/LearnerProfileForm.cs) (Learner flow)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_experience["Desktop experience"]
  node_login["Sign-in<br/>[UserAuth.cs]"]
  node_learner_forms["Learner flow"]
  node_interest_form["Interest questionnaire"]
  node_outcome_form["Outcome and alternatives"]
  node_summary_form["Advisory summary"]
  node_funding_form["Funding information"]
  node_advisor_dashboard["Session dashboard"]
  node_reports_form["Report selection"]
  node_admin_maintenance["Reference maintenance"]
  node_print_helper["Print and export UI<br/>[PrintHelper.cs]"]
end

subgraph group_advising["Learner advising"]
  node_learner_controller["Learner data handling"]
  node_advice_controller["Eligibility and recommendations"]
end

subgraph group_staff["Staff operations"]
  node_report_controller["Summary and reporting"]
  node_admin_controller["Admin validation<br/>[AdminController.cs]"]
end

subgraph group_persistence["Persistence and models"]
  node_data_access["SQL data access"]
  node_db_helper["Connection provider<br/>[DatabaseHelper.cs]"]
  node_database[("FuturePath database")]
  node_entities["Domain records"]
end

node_learner(("Learner"))
node_advisor(("Career Advisor"))
node_admin(("Administrator"))

node_learner -->|"starts session"| node_login
node_advisor -->|"signs in"| node_login
node_admin -->|"signs in"| node_login
node_login -->|"resets session"| node_learner_controller
node_learner -->|"enters profile"| node_learner_forms
node_learner_forms -->|"submits learner data"| node_learner_controller
node_learner -->|"answers questions"| node_interest_form
node_learner_forms -->|"continues flow"| node_interest_form
node_interest_form -->|"submits answers"| node_learner_controller
node_learner -->|"views outcome"| node_outcome_form
node_advice_controller -->|"loads and saves advising data"| node_data_access
node_advice_controller -->|"evaluates domain records"| node_entities
node_learner -->|"opens summary"| node_summary_form
node_summary_form -->|"requests summary"| node_report_controller
node_learner -->|"views funding"| node_funding_form
node_funding_form -->|"requests funding"| node_report_controller
node_advisor -->|"reviews sessions"| node_advisor_dashboard
node_advisor_dashboard -->|"searches sessions"| node_report_controller
node_advisor -->|"generates reports"| node_reports_form
node_reports_form -->|"requests reports"| node_report_controller
node_report_controller -->|"queries and logs exports"| node_data_access
node_summary_form -->|"uses printing"| node_print_helper
node_reports_form -->|"uses printing"| node_print_helper
node_admin -->|"maintains reference data"| node_admin_maintenance
node_admin_maintenance -->|"saves reference data"| node_admin_controller
node_admin_controller -->|"validates and persists"| node_data_access
node_data_access -->|"opens connections"| node_db_helper
node_db_helper -->|"connects to"| node_database

click node_login "https://github.com/sapster186/2011-semester-project/blob/master/Boundary/UserAuth.cs"
click node_learner_forms "https://github.com/sapster186/2011-semester-project/blob/master/Boundary/LearnerProfileForm.cs"
click node_interest_form "https://github.com/sapster186/2011-semester-project/blob/master/Boundary/InterestQuestionnaireForm.cs"
click node_outcome_form "https://github.com/sapster186/2011-semester-project/blob/master/Boundary/AdvisoryOutcomeForm.cs"
click node_summary_form "https://github.com/sapster186/2011-semester-project/blob/master/Boundary/AdvisorySummaryForm.cs"
click node_funding_form "https://github.com/sapster186/2011-semester-project/blob/master/Boundary/FundingInformationForm.cs"
click node_advisor_dashboard "https://github.com/sapster186/2011-semester-project/blob/master/Boundary/CareerAdvisorDashboardForm.cs"
click node_reports_form "https://github.com/sapster186/2011-semester-project/blob/master/Boundary/ReportSelectionForm.cs"
click node_admin_maintenance "https://github.com/sapster186/2011-semester-project/blob/master/Boundary/ReferenceDataMaintenanceForm.cs"
click node_learner_controller "https://github.com/sapster186/2011-semester-project/blob/master/Controller/Learnercontroller.cs"
click node_advice_controller "https://github.com/sapster186/2011-semester-project/blob/master/Controller/AdviceController.cs"
click node_report_controller "https://github.com/sapster186/2011-semester-project/blob/master/Controller/ReportController.cs"
click node_admin_controller "https://github.com/sapster186/2011-semester-project/blob/master/Controller/AdminController.cs"
click node_data_access "https://github.com/sapster186/2011-semester-project/tree/master/DataAccess"
click node_db_helper "https://github.com/sapster186/2011-semester-project/blob/master/DataAccess/DatabaseHelper.cs"
click node_entities "https://github.com/sapster186/2011-semester-project/tree/master/Entity"
click node_print_helper "https://github.com/sapster186/2011-semester-project/blob/master/Boundary/PrintHelper.cs"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_login,node_learner_forms,node_interest_form,node_outcome_form,node_summary_form,node_funding_form,node_advisor_dashboard,node_reports_form,node_admin_maintenance,node_print_helper toneBlue
class node_learner_controller,node_advice_controller toneAmber
class node_report_controller,node_admin_controller toneMint
class node_data_access,node_db_helper,node_database,node_entities toneRose
class node_learner,node_advisor,node_admin toneIndigo
```

## Components

### Desktop experience

- [Sign-in](https://github.com/sapster186/2011-semester-project/blob/master/Boundary/UserAuth.cs): `Boundary/UserAuth.cs`
- [Learner flow](https://github.com/sapster186/2011-semester-project/blob/master/Boundary/LearnerProfileForm.cs): `Boundary/LearnerProfileForm.cs`
- [Interest questionnaire](https://github.com/sapster186/2011-semester-project/blob/master/Boundary/InterestQuestionnaireForm.cs): `Boundary/InterestQuestionnaireForm.cs`
- [Outcome and alternatives](https://github.com/sapster186/2011-semester-project/blob/master/Boundary/AdvisoryOutcomeForm.cs): `Boundary/AdvisoryOutcomeForm.cs`
- [Advisory summary](https://github.com/sapster186/2011-semester-project/blob/master/Boundary/AdvisorySummaryForm.cs): `Boundary/AdvisorySummaryForm.cs`
- [Funding information](https://github.com/sapster186/2011-semester-project/blob/master/Boundary/FundingInformationForm.cs): `Boundary/FundingInformationForm.cs`
- [Session dashboard](https://github.com/sapster186/2011-semester-project/blob/master/Boundary/CareerAdvisorDashboardForm.cs): `Boundary/CareerAdvisorDashboardForm.cs`
- [Report selection](https://github.com/sapster186/2011-semester-project/blob/master/Boundary/ReportSelectionForm.cs): `Boundary/ReportSelectionForm.cs`
- [Reference maintenance](https://github.com/sapster186/2011-semester-project/blob/master/Boundary/ReferenceDataMaintenanceForm.cs): `Boundary/ReferenceDataMaintenanceForm.cs`
- [Print and export UI](https://github.com/sapster186/2011-semester-project/blob/master/Boundary/PrintHelper.cs): `Boundary/PrintHelper.cs`

### Learner advising

- [Learner data handling](https://github.com/sapster186/2011-semester-project/blob/master/Controller/Learnercontroller.cs): `Controller/Learnercontroller.cs`
- [Eligibility and recommendations](https://github.com/sapster186/2011-semester-project/blob/master/Controller/AdviceController.cs): `Controller/AdviceController.cs`

### Staff operations

- [Summary and reporting](https://github.com/sapster186/2011-semester-project/blob/master/Controller/ReportController.cs): `Controller/ReportController.cs`
- [Admin validation](https://github.com/sapster186/2011-semester-project/blob/master/Controller/AdminController.cs): `Controller/AdminController.cs`

### Persistence and models

- [SQL data access](https://github.com/sapster186/2011-semester-project/tree/master/DataAccess): `DataAccess`
- [Connection provider](https://github.com/sapster186/2011-semester-project/blob/master/DataAccess/DatabaseHelper.cs): `DataAccess/DatabaseHelper.cs`
- **FuturePath database**
- [Domain records](https://github.com/sapster186/2011-semester-project/tree/master/Entity): `Entity`

### Other components

- **Learner**
- **Career Advisor**
- **Administrator**

## Connections

- Learner → Sign-in: starts session
- Career Advisor → Sign-in: signs in
- Administrator → Sign-in: signs in
- Sign-in → Learner data handling: resets session
- Learner → Learner flow: enters profile
- Learner flow → Learner data handling: submits learner data (evidence: `Controller/Learnercontroller.cs`)
- Learner → Interest questionnaire: answers questions
- Learner flow → Interest questionnaire: continues flow
- Interest questionnaire → Learner data handling: submits answers (evidence: `Controller/Learnercontroller.cs`)
- Learner → Outcome and alternatives: views outcome
- Eligibility and recommendations → SQL data access: loads and saves advising data (evidence: `Controller/AdviceController.cs`)
- Eligibility and recommendations → Domain records: evaluates domain records (evidence: `Controller/AdviceController.cs`)
- Learner → Advisory summary: opens summary
- Advisory summary → Summary and reporting: requests summary (evidence: `Boundary/AdvisorySummaryForm.cs`)
- Learner → Funding information: views funding
- Funding information → Summary and reporting: requests funding (evidence: `Boundary/FundingInformationForm.cs`)
- Career Advisor → Session dashboard: reviews sessions
- Session dashboard → Summary and reporting: searches sessions
- Career Advisor → Report selection: generates reports
- Report selection → Summary and reporting: requests reports (evidence: `Boundary/ReportSelectionForm.cs`)
- Summary and reporting → SQL data access: queries and logs exports (evidence: `Controller/ReportController.cs`)
- Advisory summary → Print and export UI: uses printing (evidence: `Boundary/AdvisorySummaryForm.cs`)
- Report selection → Print and export UI: uses printing (evidence: `Boundary/ReportSelectionForm.cs`)
- Administrator → Reference maintenance: maintains reference data
- Reference maintenance → Admin validation: saves reference data (evidence: `Boundary/ReferenceDataMaintenanceForm.cs`)
- Admin validation → SQL data access: validates and persists (evidence: `Controller/AdminController.cs`)
- SQL data access → Connection provider: opens connections (evidence: `DataAccess/AdviceSessionDA.cs`)
- Connection provider → FuturePath database: connects to
