Example: Architecture of CGI script
- parses the input & validates it,
checks it for sneaky malevolence
- looks in its cache and delivers result if
already available
- If not in the cache, the makes an XML Query
on the fly from a template &
hands it to an XML Query engine,
Galax
- Galax does the query and sends results back to the
CGI script;
- CGI script saves the result in the cache at the same
time as sending it back to the user;
- The result contains img elements that bring in
image thumbnails directly.