Nieuwe features: - Welkomstpagina bij lege content-map (nieuwe installatie detectie) - 404-afhandeling binnen actieve theme via admin/static/404.html - HTTP 404 status bij onbekende pagina's en missende taalprefix Opschoning: - Verwijderd: package.json, src/scss/, root .htaccess, themes/demo/ - Verwijderde vendor packages: php-mqtt/client, mustache/mustache - AGENTS.md samengevoegd naar root, development/AGENTS.md verwijderd - .gitignore opgeschoond (NPM/node_modules/.sass-cache verwijderd) Documentatie: - Installatie instructies toegevoegd aan README (Apache2/Nginx/PHP/composer) - README en guide versie referenties bijgewerkt naar 2.6.1 - Release notes: docs/release-notes/v2.6.1.md Tests: - Pentest: 30/30 geslaagd, 0 vulnerabilities - WCAG 2.1 AA: 25/25 geslaagd, 100% compliance - Test scripts gebruiken Apache-URL i.p.v. localhost:8080
1.0 KiB
1.0 KiB
CodePress Developer
De CodePress developer handleiding bevat de volgende onderwerpen:
- Architectuur — CMS architectuur en mappenstructuur
- Core classes — CodePressCMS, ThemeManager, PluginManager, AdminAuth
- Plugin development — Plugin types (content/systeem), structuur, API
- Routing — Frontend, admin en plugin admin routing
- Beveiliging — XSS, CSRF, path traversal, RBAC
- Testing — Penetratie, accessibility en functionele tests
- Debugging — Logging en cache
- Performance — OPcache en SCSS caching
Belangrijke concepten in CodePress 2.6.1:
- Plugin types — Content plugins (sidebar) en systeem plugins (admin menu, routes, API)
- Admin plugin API — Systeem plugins kunnen admin menu items en routes registreren
- SCSS compilatie —
ThemeManagercompileert SCSS naarcss_compiled/via scssphp (read-only) - Asset serving —
public/asset.phpserveert themes/, admin/assets/ en plugins/ op Apache (i.p.v. PHP dev router)
Selecteer een onderwerp uit de navigatie aan de linkerkant.