How khairu-aqsara/sholat-mini-project works
Main Components
a) Core System Components:
• Web Application Layer (Public Interface)
• Controller Layer
• Service Layer
• Data Access Layer
• External Integration Layer
b) Supporting Components:
• Error Handling System
• Scheduled Tasks System
• Audio Management System
Data Flow Representation
1. User Request Flow:
• Browser -> Router -> Controller -> Service -> Model -> Database
2. Prayer Time Sync Flow:
• Scheduler -> ConcurrentRequestHandler -> esolat.gov.my API ->
• SongJsonFetcher -> Database
3. Voice-over Playback Flow:
• Scheduler -> BoxService -> SongService -> Audio System
Special Components
Create dedicated sections for:
a) Error Handling System:
• ExceptionLogger to all layers
• Email notification flow
b) Scheduled Tasks:
• Sync.php scheduler
• To ConcurrentRequestHandler
• SeederExecutor for data population
Database Relationships
A simplified version of the ERD showing:
• Subscribers
• Zones
• PrayingName
• Songs
• SubscriberBoxes
Technical Details
Annotations for:
• PHP 8.2 requirement
• Database connection details
• External API endpoints
• Audio playback requirements
Important Notes
Callouts for:
• Chrome autoplay policy considerations
• 7-day sync schedule
• Error notification system
• Database configuration requirements