Minimal PHP templates engine.
- OS (Raspbian and Win7 are tested)
- Webserver (Apache and nginx are tested)
Routes are defined in
Views are in
__VIEW__. Filename must be
(classname).class.php. Abstract classes should have the name
Templates are in
__TPL__. Filename must be
(templatename).php. Fragments, i.e. files included by templates, should have the name
Giddot has a simple caching mechanism, see
__LIB__/gcache.class.php for more. The
./cache directory must be writeable. To enable it set
$GIDDOT_CONFIG['cache'] to true.
If concatenation of CSS and JS files is enabled, also the
./tmp directory must be writeable. To enable it set
$GIDDOT_CONFIG['concat_styles'] to true.
To force recreation of the cached files, including concatenated scripts, append
cache=no to the URL.