How juliabonetto/pag-tachos works
This is a CodeIgniter 4 PHP framework distribution with a small application layered on it. The app workflow is: a browser requests a tacho page or endpoint, routing dispatches to TachoController, which looks up a device and either renders a view or forwards status/manual-selection requests to FastAPI. The framework also supplies database, REST, filtering, session, cache, and CLI capabilities. App routing, controller behavior, and core module paths are supported by the tree and excerpts; links among unsampled framework services are omitted.
Main entry points: TachoController.php Tacho controller · Router.php Route dispatch · index.php Web entry · Boot.php Framework boot
Components 18
Request runtime
- Web entry
public/index.php - Framework boot
system/Boot.php - Route dispatch
system/Router/Router.php - HTTP response
system/HTTP/Response.php
Tacho application
- App routes
app/Config/Routes.php - Tacho controller
app/Controllers/TachoController.php - Tacho page
app/Views/tacho.php
Data and integrations
- Database API
system/Database/Database.php - Configured database
- FastAPI service
Framework capabilities
- Request filters
system/Filters/Filters.php - REST resources
system/RESTful/ResourceController.php - Caching
system/Cache/CacheFactory.php - Sessions
system/Session/Session.php - Email
system/Email/Email.php - File handling
system/Files/File.php - CLI commands
system/CLI/Commands.php
Other components
- Browser
Connections 12
- Browser → Web entry: requests
- Web entry → Framework boot: starts
- Framework boot → Route dispatch: boots
- Route dispatch → App routes: loads routes
- Route dispatch → Tacho controller: dispatches
- App routes → Tacho controller: maps paths
- Tacho controller → Database API: queries device
- Database API → Configured database: reads
- Tacho controller → Tacho page: renders page
- Tacho controller → FastAPI service: forwards requests
- Tacho controller → HTTP response: returns response
- HTTP response → Browser: sends result