ClearSilver

来自开放百科 - 灰狐
2007年3月20日 (二) 09:53Allen (讨论 | 贡献)的版本

跳转到: 导航, 搜索

ClearSilver is a fast, powerful, and language-neutral template system. It is designed to make it easy to create template driven static or dynamic websites.

http://www.clearsilver.net/

ClearSilver is first and foremost designed to be extremely fast. It is coded completely in C and exported to your script language of choice (i.e. Python, Perl). As a result, it is notably faster than template systems written in a script language. However, its design has additional benefits. It is also one of the only template systems available which allows you to easily mix-and-match multiple programming languages with the same templates, even on the same page. This allows you to optimize your website by writing C-modules to handle speed-sensitive sections, while leaving the majority of your site in easy to write script code.

Brandon Long. http://www.fiction.net/blong/

Features

  • Fast, simple, language-neutral template system.
  • Modules currently available for C, Python, Perl.
  • Powerful template language supports variable substitution, template includes, conditionals, loops, macros, recursive macros, local variables.
  • Full CGI-handling kit with support for CGI/1.1, RFC 2388, automatic gzip compression, and other CGI standards.
  • "Pipelined" rendering model stores rendering data in an intermediate static dataset and makes debugging easier.
  • Separate your web application from its appearance.
  • Allow non-programmers access to edit parts of the site appearance.
  • Open Source and non-restrictive license

Install

Success Stories

  • Google Groups 2 - The new version of Google Groups uses ClearSilver. (C++/Python)
  • Yahoo Groups! is authored in ClearSilver's ancestor, "CS/HDF". (C, Python)
  • For HTML rendering, Trac uses the ClearSilver templating system.
  • Discogs - Discogs is a user-built database containing information on artists, labels, and their recordings. (Python)
  • Bloglines - Used by the server based RSS aggregator. (C)
  • Hassan Image Server - a server for sharing web-browsable photo repositories. (Python)
分享您的观点
个人工具
名字空间

变换
操作
导航
工具箱