Complete technical architecture of the Barangay Baligatan Incident Reporting System — built for clarity, security, and scale.
Figure 1.1: Complete system architecture — presentation, application, and data layers with authentication flow, external integrations, and real-time notification pipeline.
Presentation (UI), Application (PHP business logic), Data (MySQL) — modular, maintainable, and clearly separated.
bcrypt hashing, PDO prepared statements, CSRF tokens, XSS sanitization, session hardening, and input validation.
Database-driven queue, in-app alerts, email for critical updates, and push notification support for incident status changes.
HTML5, CSS3, JavaScript, Bootstrap 5, AOS, Font Awesome — fully responsive, accessible, and optimized for all devices.
PHP 7.4+ (OOP, PDO), session-based auth, RESTful routing, service layer separation, and error handling.
MySQL with normalized schema: users, incidents, categories, responses, announcements, activity logs, notification queues.
User input → validation → business logic → database → response rendering → client feedback with real-time status updates.