How tristancacha/rally-supply-codeigniter works
Rally Supply is a small CodeIgniter pickleball-shop starter, not a functioning POS: it serves a landing page, static product catalog, about page, and temporary customer and staff lists. The main workflow is an HTTP visitor reaching a declared route, which dispatches to a controller and renders a page or account view. Catalog filtering and account data are held in controller-local PHP arrays; the README explicitly says there is no database or checkout. Framework configuration and error presentation are included as supporting runtime layers; unsampled view wiring is represented only where documented.
Main entry points: Routes.php Page routes · Pages.php Landing and about · BaseController.php Base controller · Catalog.php Gear catalog
Components 16
Request routing
- Web entry
public/index.php - Page routes
app/Config/Routes.php
Store pages
- Landing and about
app/Controllers/Pages.php - Gear catalog
app/Controllers/Catalog.php - Customer list
app/Controllers/Customers.php - Staff list
app/Controllers/Users.php
Page presentation
- Home page
app/Views/pages/home.php - About page
app/Views/pages/about.php - Shop page
app/Views/pages/shop.php - Customer table
app/Views/accounts/customers.php - Staff table
app/Views/accounts/users.php - Shared page chrome
app/Views/partials
Framework support
- Base controller
app/Controllers/BaseController.php - Framework configuration
app/Config - Exception page
app/Views/errors/html/error_exception.php
Other components
- Visitor
Connections 18
- Visitor → Web entry: requests page
- Web entry → Page routes: boots app
- Page routes → Landing and about: dispatches
app/Config/Routes.php - Page routes → Gear catalog: dispatches
app/Config/Routes.php - Page routes → Customer list: dispatches
app/Config/Routes.php - Page routes → Staff list: dispatches
app/Config/Routes.php - Landing and about → Base controller: extends
app/Controllers/Pages.php - Gear catalog → Base controller: extends
app/Controllers/Catalog.php - Customer list → Base controller: extends
app/Controllers/Customers.php - Staff list → Base controller: extends
app/Controllers/Users.php - Landing and about → Home page: renders
- Landing and about → About page: renders
- Gear catalog → Shop page: renders
- Customer list → Customer table: renders
app/Controllers/Customers.php - Staff list → Staff table: renders
app/Controllers/Users.php - Home page → Shared page chrome: uses shared chrome
- Shop page → Shared page chrome: uses shared chrome
- About page → Shared page chrome: uses shared chrome