How marcus39-web/homepage works
This is a PHP photography website: visitors browse curated photo galleries and images, explore a customizable calendar, and use contact/feedback forms; an authenticated statistics area supports the site owner. The main request path runs through index.php, which bootstraps shared helpers, handles form actions and access checks, then renders a page template. PhotoLibrary supplies catalog data and public/photo.php serves protected, cached image variants. README-described calendar ordering and local print-proof features are included; source excerpts do not expose every internal call, so uncertain links are omitted.
Main entry points: index.php Request front controller · kalender.php Calendar page · bootstrap.php Contact and feedback · PhotoLibrary.php Photo catalog
Components 23
Website routing and pages
- Request front controller
index.php - Session and helpers
bootstrap.php - Home page
Components/pages/home.php - Legal pages
Components/pages/impressum.php - Privacy page
Components/pages/datenschutz.php - Not-found page
Components/pages/error-404.php - Shared page layout
Components/layout/header.php
Photo catalog and delivery
- Gallery page
Components/pages/galerie.php - Photo catalog
src/PhotoLibrary.php - Image delivery
public/photo.php - WebP photo cache
data/photo-cache
Calendar features
- Calendar page
Components/pages/kalender.php - Print proof handler
src/CalendarPrint.php - PDF renderer
tools/generate_calendar_pdf.py - Calendar requests
Forms and operations
- Contact page
Components/pages/contact.php - Statistics login
Components/pages/statistik-login.php - Visitor statistics
Components/pages/statistik.php - Contact and feedback
bootstrap.php - Visit records
- Email delivery
Other components
- Visitor
- Site owner
Connections 30
- Visitor → Request front controller: requests pages
README.md - Request front controller → Session and helpers: loads helpers
index.php - Request front controller → Home page: routes request
index.php - Request front controller → Gallery page: routes request
index.php - Request front controller → Calendar page: routes request
index.php - Request front controller → Contact page: routes request
index.php - Request front controller → Legal pages: routes request
index.php - Request front controller → Privacy page: routes request
index.php - Request front controller → Statistics login: routes request
index.php - Request front controller → Visitor statistics: routes request
index.php - Request front controller → Not-found page: renders unknown route
index.php - Request front controller → Image delivery: dispatches image request
index.php - Request front controller → Print proof handler: handles print POST
index.php - Request front controller → Contact and feedback: handles form POST
index.php - Request front controller → Visit records: records entry
README.md - Home page → Photo catalog: loads photo catalog
Components/pages/home.php - Gallery page → Photo catalog: loads photo catalog
- Calendar page → Photo catalog: selects photo motifs
- Image delivery → Photo catalog: resolves image path
- Image delivery → WebP photo cache: serves cached variants
- Calendar page → Calendar requests: submits order
README.md - Print proof handler → PDF renderer: runs renderer
src/CalendarPrint.php - Print proof handler → Calendar requests: stores print proof
src/CalendarPrint.php - Contact and feedback → Email delivery: sends email
README.md - Contact and feedback → Calendar requests: stores requests
README.md - Site owner → Statistics login: signs in
README.md - Visitor statistics → Visit records: reads visit records
- Visitor → Contact page: opens contact form
README.md - Visitor → Calendar page: browses calendar
README.md - Shared page layout → Contact and feedback: renders feedback form