Commit graph

5 commits

Author SHA1 Message Date
d971512a31 added framework_guide to docs 2026-07-17 01:52:21 +02:00
856d380fb7 adjusted title in README; kanban and pi-tasks added to .gitignore 2026-07-17 01:47:49 +02:00
fb0321bfd5 README: replace outdated how-it-works with ZAP Framework Guide (todo #9)
Replaces the legacy 'how it works' section (which referenced non-existent
index.html, zap.php, display.inc.php, init.php) with a comprehensive
'ZAP Framework Guide' documenting the full application architecture:

- Front-controller routing (?mode=X -> ZAPController -> ZAP{Mode})
- PSR-0 autoloader in conf/init.php
- Config singleton pattern
- Session management (verbatim  keys)
- Plugin-based search engines (Search interface, Brave)
- Image processing pipeline (ImgSearch, ImgProcess, ImgIOTools, ImgTools)
- CLI bootstrap pattern (chdir + require_once, session_start skipped in CLI)
- Logging via Log class

Template rendering pipeline documented with:
- ob_start/include/extract/ob_get_clean pattern
- getZAPTemplate() helper
- Step-by-step guide for adding new templates

Interactive elements documented:
- Pattern 1: Form with client-side validation (index.tpl + js/main.js)
- Pattern 2: Polling image display (display.tpl + js/display.js, onload-driven
  two-img swap with 5s cadence)

Includes end-to-end summary for creating new features.
2026-07-17 01:21:19 +02:00
4ddaddda3d 0.9.0 - the ZapV version updated to current php standards. Brave search used, while Bing and Google search api are deprecated 2026-07-15 13:57:05 +02:00
3d4298fe8b Initial commit 2026-06-27 23:44:40 +02:00