How n3ut4/pablo works
ITZA TATTOO STUDIO is a PHP MVC web application for a tattoo studio. Customers register or sign in, browse studio information, book appointments, submit informed consent, and manage deposits; staff and administrators manage schedules, gallery content, promotions, users, payments, and reports. Requests enter through index.php and core/Enrutador.php, then reach controllers, models, and rendered views. The README documents MySQL-backed accounts and the studio’s main domain records. Some controller/model links are based on module references rather than sampled call sites, so those edges are marked unverified.
Main entry points: Enrutador.php Action router · ControladorDashboard.php Customer and admin dashboard · ControladorCitas.php Appointment handling · index.php PHP entry point
Components 26
Request handling
- PHP entry point
index.php - Action router
core/Enrutador.php - Authentication
app/controllers/ControladorAutenticacion.php - Access checks
app/helpers/AuthHelper.php
Customer bookings
- Appointment handling
app/controllers/ControladorCitas.php - Consent handling
app/controllers/ControladorConsentimiento.php - Payment handling
app/controllers/ControladorPagos.php - Booking logic
app/services/BookingService.php - Booking validation
app/Requests/StoreCitaRequest.php
Studio operations
- Customer and admin dashboard
app/controllers/ControladorDashboard.php - Dashboard metrics
app/services/DashboardService.php - Artist workspace
app/controllers/ControladorTatuador.php - Gallery management
app/controllers/ControladorGaleria.php - Promotions
app/controllers/ControladorPromociones.php - Reports
app/controllers/ControladorReportes.php - Public pages and contact
app/controllers/ControladorPaginas.php
Domain data
- Appointment records
app/models/ModeloCitas.php - User records
app/models/ModeloUsuarios.php - Service records
app/models/ModeloServicios.php - Artist records
app/models/ModeloArtistas.php - Payment records
app/models/ModeloPagos.php - Consent records
app/models/ModeloConsentimiento.php
Web presentation
- Controller rendering
core/ControladorBase.php - MVC page views
app/views/pages
Other components
- Customer or staff
- MySQL database
Connections 35
- Customer or staff → PHP entry point: requests
README.md - PHP entry point → Action router: dispatches
index.php - Action router → Authentication: routes to
core/Enrutador.php - Action router → Appointment handling: routes to
core/Enrutador.php - Action router → Consent handling: routes to
core/Enrutador.php - Action router → Payment handling: routes to
core/Enrutador.php - Action router → Customer and admin dashboard: routes to
core/Enrutador.php - Action router → Artist workspace: routes to
core/Enrutador.php - Action router → Gallery management: routes to
core/Enrutador.php - Action router → Promotions: routes to
core/Enrutador.php - Action router → Reports: routes to
core/Enrutador.php - Action router → Public pages and contact: routes to
core/Enrutador.php - Customer and admin dashboard → Dashboard metrics: uses metrics
app/controllers/ControladorDashboard.php - Customer and admin dashboard → Access checks: checks access
app/controllers/ControladorDashboard.php - Artist workspace → Access checks: checks access
app/helpers/AuthHelper.php - Dashboard metrics → Appointment records: queries metrics
app/services/DashboardService.php - Customer and admin dashboard → Appointment records: loads appointments
app/controllers/ControladorDashboard.php - Customer and admin dashboard → User records: manages users
app/controllers/ControladorDashboard.php - Customer and admin dashboard → Service records: manages services
app/controllers/ControladorDashboard.php - Appointment handling → Appointment records: manages bookings
app/controllers/ControladorCitas.php - Appointment handling → Payment records: handles deposits
app/controllers/ControladorCitas.php - Appointment handling → Artist records: selects artists
app/controllers/ControladorCitas.php - Appointment handling → Service records: selects services
app/controllers/ControladorCitas.php - Consent handling → Consent records: stores consent
app/controllers/ControladorConsentimiento.php - Payment handling → Payment records: manages deposits
app/controllers/ControladorPagos.php - Artist workspace → Appointment records: manages schedule
app/controllers/ControladorTatuador.php - Gallery management → Artist records: uses artists
app/controllers/ControladorGaleria.php - Reports → Appointment records: reports on
app/controllers/ControladorReportes.php - Booking validation → Appointment handling: validates input
- PHP entry point → MySQL database: initializes schema
index.php - PHP entry point → Public pages and contact: handles exceptions
index.php - Customer and admin dashboard → Controller rendering: renders through
core/ControladorBase.php - Public pages and contact → Controller rendering: renders through
app/controllers/ControladorPaginas.php - Controller rendering → MVC page views: renders views
core/ControladorBase.php - PHP entry point → MySQL database: loads configuration
index.php