 |

What is ClearSilver?
ClearSilver is a fast and powerful
HTML templating system.
ClearSilver is language neutral, allowing you to seamlessly
mix C, C++, Python, Perl, Java, PHP, and any other programming
language you use, all in the same site, or even the same
page.
ClearSilver is fast, avoiding the problems created by
language-specific template systems written in slow script languages
such as Python or Perl.
ClearSilver is easy to use. Unlike XML/XSLT, which are
complicated to setup and understand. You'll quickly find that
ClearSilver is the easiest way to develop dynamic webpages.
|
 |
|
Discussion
The ClearSilver mailing list is hosted at Yahoo Groups. You can join
the list either online or by
email.
View the Full Archives
Most recent messages
longs
- Scott Hassan
Do clearsilver's templates understand 64-bit numbers? I want to do the following: <?cs set:duration=17179869184 ?> <?cs var:duration/1048576?> This outputs
Re: longs
- Brandon Long
CS currently uses a "long int" for numbers, which is 32 bits on 32 bit builds... and a 64 bit number on most 64 bit builds. Brandon ... -- "Kill a man, and you
Re: longs
- Scott Hassan
... Does it make sense to have this behaviour when running on a different platform? Scott
cs program spins wildly on getopt()
- sunsetbrew
I cross compiled this for ARM and the cs program appeared to hang on startup. After debugging, it was determined to be this line#50 in cs.c because EOF is -1
Two Build Issues
- sunsetbrew
Having built this system on OSX, x86 Linux and ARM Linux (cross compiled), there are a couple minor issues. First, rules.mk.in has gcc hard coded for creating
Re: longs
- David Jeske
I'm curious.. what are you trying to do in clearsilver that has you wondering about 64 bit number support?
Re: longs
- Scott Hassan
... I am displaying some file lengths (in bytes) that are greater than 2G. I was writing a simple macro to convert the lengths into a more human readable
Small bug with warnings if localtime_r doesn't exist.
- Sydius
If localtime_r doesn't exist, my_tm is left uninitialized, and thus tbuf is useless. Index: util/neo_misc.c ... +++ util/neo_misc.c (working copy) @@ -32,14
AJAX Support
- kaevee1
Hello, I am going to start development of web application for an embedded system. I think ClearSilver is an excellent choice. I would like to know Whether
Re: AJAX Support
- Brandon Long
That's kind of an open ended question. Yes, you can write an AJAX app in clearsilver, but clearsilver doesn't really have much to assist you in this. There's
Re: AJAX Support
- oglausa
You can easily create Ajax applications with Clearsilver. Smart way is to use JSON for messaging format and you can use Json-C or Yajl with your project.
How to (use | compile) gettext with clearsilver ?
- bxxx
Hello, I use clearsilver with fastcgi/lighttpd. I have problem in this file : hello.html : <h1><?cs var:_("hello world !") ?></h1> After Refresh my page, error
build-in escape functions
- caox
I am a new user of clearsilver and I am trying some features of it. when testing the build-in escape functions such as url_escape and html_escape, some error
Re: build-in escape functions
- Brandon Long
That means you haven't included the escape functions in your program. In C, calling cgi_register_strfuncs will add them all. I think the Java and Python
|
|
|