tirrender components                                        -*-org-*-

Planned components of tirrender program. This break-down fits the MVC
model: tirrender.pm implements the model, Text::Template (and
template files) the view, and tirrender and trrender.cgi the
controller.

Before I finalize this structure and module choices and dive into
coding, I need to make a prototype web page for each object type as a
basis for the corresponding template and see if Text::Template really
does all I need.

* tirrender

Command line interface. Interpret command line arguments. Use for
static rendering. Might break into separate interfaces for directory
and other object rendering.

* tirrender.cgi

CGI script for dynamic rendering. Interpret query string. Might break
into separate interfaces for directory and other object rendering.

* tirrender.pm

Interface with dataset objects (files/directories), extract content
to be rendered.

* Text::Template

Standard template module. Implements view.

Templates:

- Text content HTML rendering (.txt, .shtml, .c, ...)

- HTML content rendering

- Image HTML rendering

- Directory HTML rendering

- Directory gophermap rendering (supercede tirph?)