What is Clearsilver?
Clearsilver is a fast, powerful, and
language-neutral HTML template system. In both
static content sites and dynamic
HTML applications, it provides a separation between
presentation code and application logic which makes
working with your project easier.
The design of Clearsilver began in 1999, and evolved during
its use at onelist.com, egroups.com,
and Yahoo! Groups.
Today many other projects and
websites using it.
Why use Clearsilver?
High Performance and Language Neutral. Because Clearsilver is written
as a C-library, and exported to scripting languages like
Python, Perl, Java and Ruby via modules, it is extremely fast. This also
means you can work with the same template system independent
of the language your project is in.
Pluggable Look and Feel. Clearsilver makes it easy to
face lift a site by providing a new set of templates. It is
possible to easily run more than one look and feel at once,
and share components with a base look and feel to reduce
maintenance.
Internationalization Support. Clearsilver makes it
trivial to support internationlization. You write your templates
in your native language and included tools automatically extract
and catalog language strings for translation.
Advanced features. Built in support for advanced
features such as gzip compression,
smart whitespace stripping, parametric macros, online
debugging mode, url and javascript string escaping, and more.
How can I learn more?
The Clearsilver documentation explains both
the theory of operation for
Clearsilver itself, the C-api, and the extension module APIs.
[ What does Clearsilver look like?
]
[ How is Clearsilver different
from ASP, JSP, PHP? ]
[ How does Clearsilver compare with XML/XSLT? ]
[ Who is using Clearsilver? ]
|
| Recent News |
Recent Discussion |
Release ClearSilver 0.10.5
[2007-Jul-12]
Mostly a bugfix release, see Release Notes
|
Release ClearSilver 0.10.4
[2006-Nov-14]
Bugfixes, python 2.5 support and Automatic escape mode, see Release Notes
|
Article about using ClearSilver in embedded systems
[2006-Jul-31]
Cliff Brake has an article about choosing
ClearSilver for use in embedded systems where memory and processor space is at
a premium. Thanks for the recommendation!
|
Release ClearSilver 0.10.3
[2006-Mar-12]
Another release, fixes the main configure bug in the last release, and a bunch
of things you probably won't notice.
Release Notes
|
Release ClearSilver 0.10.2
[2005-Dec-14]
Another release, mostly fixes for portability. If you've had problems
compiling clearsilver in the past, this release is for you. One
pervasive C API change for gcc4 where most functions take a 'char *'
instead of an 'unsigned char *' now.
|
| more... |
|
Question about (Java) CS.close()
- Karl Schimpf
Hi, After reading the documentation on ClearSilver, it is not clear to me whether the Java method CS.close() closes the HDF passed as the first argument to the
Re: Getting NCR values
- P K
yes I use same browser, yes forms are same too, but operating systems and versions of clearsilver and python differ. I give NCR values when I run my code on a
Re: Getting NCR values
- Brandon Long
ClearSilver just gives you what the browser gives us. Are you using the same browser? Is the served page that the form is on the same? Brandon ... -- "This
Getting NCR values
- zeegco
Hello, when I submit a form and then use hdf.getValue('Query.x',''), I want to give NCR values (http://en.wikipedia.org/wiki/Numeric_character_reference). I
Re: hdf_copy() doesnt copy default value..
- David Jeske
... Gotcha. I'm caught up now. I do remember some discussions long ago about whether or not to copy the values from the source-node or just the children, so
|
|
| more... |
|
ClearSilver was written by
Brandon Long.
Many of the concepts behind ClearSilver are based on work by Scott
Shambarger, Paul Clegg and John Cwikla on the templating system
for onelist.com and eGroups.com.
Donations in the form of Good Tequila or Chicago Pizza
will be greatly appreciated by the authors.
|
|