Clearsilver Basics

Template Basics

The rendering process for Neotonic ClearSilver has two pieces: the dataset and the ClearSilver (CS) template files themselves. The dataset is a hierarchical namespace of strings which statements in the CS template reference. The CS template contains HTML and CS statements intermixed. Together they define the output of a given page.

Separation between Application Logic and Template

When combined with a programming language such as C, Python, or Java, the HDF static dataset creates a layer of separation between the implementation of the application logic and the display of the output template. The application logic can be reodered and rewritten as necessary, as long as it produces the same static dataset. Likewise, the template can be rewritten and debugged separately because its only source data is the static HDF dataset.

Related Information