How rickymartinginting/webgisci4 works
This is a CodeIgniter 4 WebGIS for browsing school locations and managing school records. The main visitor flow is request routing to school listing/filter, detail, or table pages, with school data read through DataModel; authenticated users can register or log in, then access the dashboard and school-management routes. README identifies Leaflet as the map library, but the supplied excerpts do not show map initialization or its data wiring, so that integration is shown as unverified. Other unsampled management views are retained as subsystem nodes based on the tree.
Main entry points: Home.php Public browsing · Routes.php Application routes · Auth.php Auth controller · Form.php School management
Components 24
Request routing
- HTTP front controller
public/index.php - Application routes
app/Config/Routes.php
School discovery
- Public browsing
app/Controllers/Home.php - School records
app/Models/DataModel.php - School map UI
app/Views/v_home.php - School details
app/Views/v_detail.php - School table
app/Views/v_table.php - Leaflet mapping
public/js/leaflet/leaflet.js
Administration
- Admin dashboard
app/Controllers/Dashboard.php - School management
app/Controllers/Form.php - Create school view
app/Views/v_createsekolah.php - Update school view
app/Views/v_updatesekolah.php - Admin data views
app/Views/v_datasekolah.php
Authentication
- Auth controller
app/Controllers/Auth.php - User records
app/Models/UserModel.php - Login form
app/Views/auth/v_login.php - Registration form
app/Views/auth/v_register.php - Login guard
app/Filters/CekLogin.php
Web interface
- Controller base
app/Controllers/BaseController.php - Home presentation
app/Views/v_home.php - Dashboard presentation
app/Views/v_dashboard.php - Shared site shell
app/Views/template/BaseView.php
Other components
- Visitor
- Administrator
Connections 27
- Visitor → HTTP front controller: requests pages
public/index.php - Administrator → HTTP front controller: requests pages
public/index.php - HTTP front controller → Application routes: boots application
public/index.php - Application routes → Public browsing: routes public pages
app/Config/Routes.php - Application routes → Auth controller: routes auth requests
app/Config/Routes.php - Application routes → Admin dashboard: routes dashboard
app/Config/Routes.php - Application routes → School management: routes forms
app/Config/Routes.php - Application routes → Login guard: guards admin routes
app/Config/Routes.php - Public browsing → School records: reads school data
app/Controllers/Home.php - Public browsing → School map UI: renders listing
app/Controllers/Home.php - Public browsing → School details: renders detail
app/Controllers/Home.php - Public browsing → School table: renders table
app/Controllers/Home.php - Admin dashboard → School records: reads counts and schools
app/Controllers/Dashboard.php - Admin dashboard → Dashboard presentation: renders dashboard
app/Controllers/Dashboard.php - School management → School records: manages school data
app/Controllers/Form.php - School management → Create school view: renders create form
- School management → Update school view: renders update form
- School management → Admin data views: renders data views
- Auth controller → User records: reads and saves users
app/Controllers/Auth.php - Auth controller → Login form: renders login
app/Controllers/Auth.php - Auth controller → Registration form: renders registration
app/Controllers/Auth.php - Login guard → Auth controller: redirects unauthenticated
app/Filters/CekLogin.php - Public browsing → Controller base: extends controller
app/Controllers/Home.php - Auth controller → Controller base: extends controller
app/Controllers/Auth.php - Admin dashboard → Controller base: extends controller
app/Controllers/Dashboard.php - Home presentation → Leaflet mapping: may use map library
- Public browsing → Shared site shell: uses shared layout