goldfisch::generoutSQL
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 generoutSQL-templatesystem was already full mod_perl-ready and is still in use on the malmoe-page, the Goldfisch-Knowledgebase and some other smaller websites.
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
- show.pl
- show.lib.pl
- generoutSQL.pm
brief usage
detailed docs can be found inside the module.
show.pl is called as Defaulthandler from apache:
example:
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.
example:
http://www2.goldfisch.at/mytemplate/var1/var2/var3/var4
Additional systemvariables can be put before the template-name:
- version
- preview ... disable all caching
- debug
- structure ... print all subtemplates of the templates
You can put more than one if you follow the above order !!
example:
http://www2.goldfisch.at/version/structure/mytemplate/var1/var2/var3/var4



