Before switching over to the OpenSource-Software Template-Toolkit goldfisch.at used its own perl-based Templatesystem called generoutSQL.
It allowed a OO-based Templatestructure with inherited functions and variables and the usual Templatefunctions. It allowed content-caching on a per-template-base. The produced pages were cached for a defined time based on the parameters.
The module was abandoned with version 1.1 and a new module goldfisch::tt2 was created that based on the perl Template-Toolkit2.
parts of the module
detailed docs can be found inside the module.
show.pl is called as Defaulthandler from apache:
Alias / /data/apache/goldfisch/goldfisch/mod_perl/show.pl/
The first subfolder in the url specifies the name of the used template, which is fetched from the Template-database. (Existing Customers find the TemplatePortal on the Tech-Page.
Subsequent subfolders in the url are variables to the template.
Additional systemvariables can be put before the template-name:
- preview ... disable all caching
- structure ... print all subtemplates of the templates
You can put more than one if you follow the above order !!