Commit graph

14 commits

Author SHA1 Message Date
3edb156749 clean up code in ZapHome and ZapDisplay (#19 and #20) 2026-07-20 01:14:00 +02:00
ffab9dc4da removed kanban from gitignore 2026-07-19 22:49:00 +02:00
e96b8e5563 zapWidth and zapHeight are now in conf.php (#21) 2026-07-19 22:47:19 +02:00
9196bf07a7 removed log.xml (txt remain) (#22); updated README (#24); achor ZapBase (#23) 2026-07-19 21:46:08 +02:00
ab0ac45415 wrong mode in index.php now gives a 404 error (#15); anti cross-site-request token 2026-07-19 21:27:13 +02:00
186d770741 session directory prefix; reset.php made saver. (isues #17 and #16) 2026-07-19 20:17:37 +02:00
b276ac7f6a made ZapHandler library 2026-07-18 11:56:54 +02:00
d185a26f87 default no debug. clever solution for api keys in git ignored local conf file. 2026-07-17 21:58:05 +02:00
6a122e3bed Brave request Fix. Path seperator fix. 2026-07-17 12:34:37 +02:00
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