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


 

    

API Reference

The Clearsilver programming API can be used from several programming languages, including C/C++, Python, Perl, and Java. The wrapper APIs are designed to be nearly the same from all languages, so that no additional learning is necessary when transitioning from one programming language to another.

However, there are differences between the different wrappers. When appropriate, the wrappers will contain features which make accessing Clearsilver more natural from the host language. In some cases, features are not available for all wrappers. For example, the Clearsilver CGI kit can be optionally used instead of other CGI handlers in C/C++, and Python. However, because of how widespread the Java-servlet standard is, the Clearsilver CGI kit is not provided under Java. Instead there is emulation for some useful features of the Clearsilver CGI Kit inside the Java-servlet environment.

Next: API Concepts

 
Copyright © 2009 Brandon Long, All rights reserved.