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


 

    

Tools

The following tools are available to help with Clearsilver related projects:
  • Python CSPage.py - This is a convinence class for writing pages using Clearsilver. CSPage maps form post actions to method names. For example, if you submit a form with a query variable named "Action.Send", then CSPage will dispatch this to the method Action_Send(). This class also has convinence functions for handling redirection and cookies.
  • Python odb.py - This is an object to relational database mapping kit. Along with hdfhelp.py, this eliminates the need to write basic SQL to read and write data, gives you a good place to compartmentalize other SQL, and provides a very easy to use bridge between your database and HDF.
  • Python trans.py - This is an internationalization tool written using ODB and Clearsilver which does automatic language extraction and string management. This allows you to leave your templates in whatever native language is most familiar, and let trans do the work of producing string files for translation into other languages. A persistant database of strings is kept, allowing trans to map existing strings to existing translations, and produce lists of untranslated strings in any language.
 
Copyright © 2009 Brandon Long, All rights reserved.