How jeremyorville-itprog/greensidehomeshoa works
Greenside Homes is a PHP MVC homeowners-association portal. Residents register, await administrator approval, sign in, and use the community and billing areas; administrators and treasurers manage approvals, announcements, fees, expenses, and payment reviews. The portal controller coordinates requests, repository operations, and rendered views, with MySQL as the persistent store. The README documents capabilities beyond the sampled excerpts; those are represented where documented, while unsampled call paths are not inferred.
Main entry points: PortalController.php Portal controller · index.php HTTP entry · UserRepository.php User records · router.php Request router
Components 17
Web entry and coordination
- HTTP entry
index.php - Request router
router.php - Portal controller
Controller/PortalController.php - Database connection
Model/Database.php - Session and helpers
bootstrap.php - Error response
Views/error.php
Accounts and access
- Authentication
Controller/AuthController.php - User records
Model/UserRepository.php - Sign-in and registration
Views/auth.php
Community features
- Portal dashboard
Views/dashboard.php - Posts and reactions
Model/PortalRepository.php - Notifications
Model/UserRepository.php
HOA finance
- Fees and payments
Model/PortalRepository.php - Expense records
Model/PortalRepository.php - Receipt access
Controller/PortalController.php
Other components
- Resident / HOA staff
- MySQL database
Connections 22
- Resident / HOA staff → Request router: sends requests
router.php - Request router → HTTP entry: routes app requests
router.php - HTTP entry → Session and helpers: loads setup
index.php - HTTP entry → Portal controller: dispatches requests
index.php - HTTP entry → Database connection: opens connection
index.php - HTTP entry → Error response: renders failures
index.php - Portal controller → Authentication: delegates authentication
Controller/PortalController.php - Authentication → User records: looks up and creates users
Controller/AuthController.php - Portal controller → User records: checks residents and roles
Controller/PortalController.php - Portal controller → Posts and reactions: manages community posts
Controller/PortalController.php - Portal controller → Fees and payments: manages fees and reviews
Controller/PortalController.php - Portal controller → Expense records: records expenses
Controller/PortalController.php - Portal controller → Receipt access: validates receipt uploads
Controller/PortalController.php - Portal controller → Sign-in and registration: renders authentication
Controller/PortalController.php - Portal controller → Portal dashboard: renders dashboard
Controller/PortalController.php - User records → MySQL database: reads and writes users
Model/UserRepository.php - Posts and reactions → MySQL database: reads and writes posts
Model/PortalRepository.php - Fees and payments → MySQL database: reads and writes payments
Model/PortalRepository.php - Expense records → MySQL database: reads and writes expenses
Model/PortalRepository.php - Notifications → MySQL database: stores notifications
Model/UserRepository.php - Database connection → MySQL database: connects with PDO
Model/Database.php - Portal controller → Notifications: sends resident alerts
README.md