Skip to content

Architecture

HarperCC101 edited this page Mar 30, 2025 · 5 revisions

Layered Architecture

  1. Users: actors who use the budget management system
    → The Users provide Input to the Console Interface
    ← The Users receive Output from the Console Interface
  2. Console Interface: a text-based user interface
    → The Console Interface sends user Commands & Data to the Budget Logic
    ← The Console Interface receives Display Data from the Budget Logic
  3. Budget Logic: a .NET application that handles the business logic
    → The Budget Logic sends Budget Data to the File Storage (SQLite)
    ← The Budget Logic receives Budget Data from the File Storage (SQLite)
  4. File Storage (SQLite): translates the budget data into SQL queries
    → The File Storage (SQLite) sends Queries to the SQLite Data Files
    ← The File Storage (SQLite) retrieves the Query Results from the SQLite Data Files
  5. SQLite Data Files: physical files that store the application's data in the SQLite database format

Layered Architecture

Model-View-Controller (MVC) Architecture

  1. → The Users send User Input (Commands & Data) to the Controller
  2. → The Controller sends the budget Data Request to the Model
    ← The Controller receives the budget Data Request from the Model
  3. → The Model sends the Data Update to the View
  4. → The View sends the View Update request to the Controller
    ← The View receives the View Update request from the Controller
  5. → The View sends Display Data to the Users

Clone this wiki locally