Principles of Operation


Here are the functional phases of a webgen compiler run:

  1. Interpert the conf script in the config directory.

    This script is responsible for site-specific configuration and utilities.

  2. Interpert the phase0 script in the config directory.

    This script is responsible for defining the majority of the utility functions used by the templates.

  3. Reads the header record from the webgen.dat data file to determine the field locations.

    The good news is we don't care about field order in the file.

  4. For each record in the webgen.dat database:
    1. Build a TCL variable for each field name, holding the value of the field in this record.

    2. Call the indicated Leaf Template from the template directory.

  5. Interpert the phase1 script in the config directory.

    This phase calls the indicated index templates to generate the indicies and meta indicies.


ksedgwic@bonsai.com