Files
CodePress/guide/en/codepress-developer.md
T
root c2cf08955b v2.6.1 (Lyra): Welcome page, 404 handling, installatie docs, opschoning
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
2026-08-17 14:48:46 +00:00

1.0 KiB

CodePress Developer

The CodePress developer guide contains the following topics:

  • Architecture — CMS architecture and folder structure
  • Core classes — CodePressCMS, ThemeManager, PluginManager, AdminAuth
  • Plugin development — Plugin types (content/system), structure, API
  • Routing — Frontend, admin and plugin admin routing
  • Security — XSS, CSRF, path traversal, RBAC
  • Testing — Penetration, accessibility and functional tests
  • Debugging — Logging and cache
  • Performance — OPcache and SCSS caching

Important concepts in CodePress 2.6.1:

  • Plugin types — Content plugins (sidebar) and system plugins (admin menu, routes, API)
  • Admin plugin API — System plugins can register admin menu items and routes
  • SCSS compilationThemeManager compiles SCSS to css_compiled/ via scssphp (read-only)
  • Asset servingpublic/asset.php serves themes/, admin/assets/ and plugins/ on Apache (instead of PHP dev router)

Select a topic from the navigation on the left.