How znarfm/daa-project works
Main Components
a. User Interface Layer:
• Sub-components for each page:
• Main Dashboard (main.py)
• Instructors Page (pages/instructors.py)
• Subjects Page (pages/subjects.py)
• Management Page (pages/manage.py)
• About Page (pages/about.py)
b. Application Logic Layer:
• A "Scheduling Engine" component that implements the algorithm
• "Schedule Validation" component for conflict checking
c. Data Layer:
• Following database tables (derived from db_stuff):
• Instructors
• Subjects
• Classes
• Instructor_Subject mappings
Component Relationships
• User Interface → Application Logic (Schedule requests)
• Application Logic → Database (CRUD operations)
• Database → Application Logic (Data retrieval)
• Application Logic → User Interface (Results display)
Specific Design Elements
Use the following visual elements:
• Blue containers for UI components
• Green containers for application logic
• Yellow containers for database components
Additional Details
a. External Dependencies:
• Streamlit Framework
• Python Runtime
• SQLite Engine
b. Key Processes:
• Schedule Generation Flow
• Conflict Resolution Path
• Data Management Operations