How moxer-mmh/timetracker works
Main Components
A. User Interface Layer (Views)
• Three sub-components:
• Daily View (time entry interface)
• Holidays View (calendar management)
• Reports View (balance summaries)
B. Controller Layer (Application Logic)
• A container labeled "Controllers" in the middle
• Three controllers:
• Daily Controller
• Holidays Controller
• Reports Controller
C. Model Layer (Data Layer)
• Include:
• Time Entry Model
• Holiday Model
• Database Handler
D. Utility Components
• Include:
• Logger
• Helpers
Component Relationships
• Views → Controllers (User actions)
• Controllers → Models (Data operations)
• Controllers → Views (Updates/Responses)
• Models → Database (Data persistence)
• All components → Utils (Utility access)
External Dependencies
• A container for "External Libraries"
• Tkinter (GUI framework)
• TkCalendar (Calendar widget)
• SQLite (Database)
Additional Elements
A. Storage:
• Local storage path connection
B. Main Entry Point:
• Main.py as the application entry point
• Connections to all layers