 |

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
Re: ClearSilver for C CGI bindings
- David Jeske
You can see an example image-server CGI written in C in the "imd" directory. The API is mostly the same in each language, so the brief tutorial written for the
Re: ClearSilver for C CGI bindings
- Brandon Long
The clearsilver model currently lacks a "top level" idea of how to accept and dispatch different types of requests. The closest we've come to releasing
Re: ClearSilver for C CGI bindings
- Liran Tal
I would love to hear about other "live" examples implemented in C for ClearSilver usage as it's what we are going for. In regards to the model, we're talking
Re: ClearSilver for C CGI bindings
- Nikolai Kondrashov
... Well, we're using it exactly for such purpose. Currently our web-interface has over a hundred pages and we use it almost to its full potential. Despite a
Re: ClearSilver for C CGI bindings
- Liran Tal
Hey Nikolai, Our permissions and authentications are controlled via the htpasswd/htaccess utility which is very common to Apache-style web servers. Could you
Re: ClearSilver for C CGI bindings
- Nikolai Kondrashov
... Yes, it is great unless you need session control and complex authentication and access control logic. ... No, we're using clean URL's and receiving paths
Re: Memory leaks found by DMALLOC?
- Brandon Long
As it turns out, this was found (and fixed) by an engineer here a couple months back, I just didn't remember it. I really need to get a new relase out. Our
Multiptle lines of output
- Dan
Hi. I am trying to figure out how to display multiple lines of several values. I know this is basic and done all the time in CGIs, but I am having trouble
Re: Multiptle lines of output
- Brandon Long
... I'm not sure what you're trying to do, exactly, but: foo.hdf: Option.1 = Foo Option.2 = Bar Option.3 = Baz foo.cs: <form action=/foo.do> <?cs each:opt =
Re: Multiptle lines of output
- Dan
... Sorry, let me try to explain better. The file is really irrelevant, it could be a database instead. If it were a database, I would read a row from a table,
Re: Multiptle lines of output
- Brandon Long
... x = for (type, hostname, ipaddr, t) in dnsdata: ncgi.hdf.setValue("Entry.%d.type" % x, type) ncgi.hdf.setValue("Entry.%d.hostname" % x, hostname)
Re: Multiptle lines of output
- Dan
... Thanks, that makes sense, but I still can't seem to get values out of HDF (empty). Is there a way to dump the whole HDF for debugging? Thanks.
Re: Multiptle lines of output
- Dan
... Actually I had a bug. It works now. However I have trouble understanding how it works (in the template). Thanks.
Re: Multiptle lines of output
- David Jeske
There are some debugging HDF values which we use to cause the HDF contents to be dumped into the rendered page.
|
|
|