How upprsk/proj-c206-c207-22 works
Main System Components
a) Presentation Layer (Terminal UI)
• term directory components
• How Screen, Term, and Vector2 classes interact
• Terminal input/output handling
b) Application Layer
• Center around the app directory components
• Various scenes (chat, user management, messaging)
• Demonstrate the scene hierarchy and navigation
c) Engine Layer
• eng directory components
• Scene management system
• Event handling mechanisms
d) Data Access Layer
• dao directory components
• Database connectivity (db directory)
• Demonstrate model relationships
e) Models Layer
• models directory structure
• Relationships between User, Chat, Message, and Address entities
Component Relationships
[Terminal UI Layer]
• ↕
[Engine Layer]
• ↕
[Application Layer]
• ↕
[Data Access Layer]
• ↕
[Database]
Specific Components
a) Terminal UI Components:
• Screen Manager
• Input Handler
• Terminal State Manager
b) Engine Components:
• Scene Manager
• Event System
• Modal System
c) Application Scenes:
• Chat View
• User Management
• Message Creation
• Chat Management
d) Data Access:
• Database Connection Pool
• Statement Handlers
• Result Sets
e) Models:
• User
• Chat
• Message
• Address
Important Details to Highlight
a) Communication Patterns:
• How events flow from UI to database
• Scene stack mechanism
• Demonstrate database connection handling
b) Key Features:
• User management flows
• Chat creation and management
• Message handling
• Address management
Architectural Patterns
• MVC-like pattern used
• Scene-based navigation system
• DAO pattern implementation
• Event-driven architecture