home | news | documentation | downloads | discussion | projects | license  

Why Clearsilver?
Clearsilver Basics
   HDF Dataset
   Template Syntax
   CGI Kit
      Config Vars
API Reference
   C API
   Python API
   Perl API
   Java API

Comparison with PHP, ASP, JSP
Comparison with XML/XSLT



ClearSilver Python Documentation

Here are some preliminary docs for the Python interface to ClearSilver. For the most part, these functions exist as an Object Oriented but direct mapping of the C functions.

There is only one python module actually built with ClearSilver (neo_cgi), but it mimics two other modules (neo_cs & neo_util). We currently use this because we want to share some functionality between the three modules, and doing this with Python is very annoying. It would be nice to be able to get access to the dynamic loading handle so I could just make my own references to the functions I want, but Python recommends this annoying mechanism of #defines and arrays of function pointers hidden in Python objects.

  neo_cgi - Clearsilver CGI Kit

Copyright © 2009 Brandon Long, All rights reserved.