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

 
Documentation
 
Overview
Why Clearsilver?
Clearsilver Basics
   HDF Dataset
   Template Syntax
      Expressions
      Macros
      Functions
   CGI Kit
      Config Vars
   FAQ
API Reference
   Concepts
   C API
   Python API
      Introduction
   Perl API
   Java API
Tools
   odb.py

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.