[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] gnu: Add python2-cheetah.
From: |
Hartmut Goebel |
Subject: |
Re: [PATCH] gnu: Add python2-cheetah. |
Date: |
Tue, 10 Jan 2017 10:04:15 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 |
Am 10.01.2017 um 01:01 schrieb Danny Milosavljevic:
> + (synopsis "Template engine")
> + (description "Cheetah is a template engine and code generation tool.")
I suggest being more verbose here. Maybe use the text from Debian:
*
**text-based template engine and Python code generator*
Cheetah can be used as a standalone templating utility or referenced as
a library from other Python applications. It has many potential uses,
but web developers looking for a viable alternative to ASP, JSP, PHP and
PSP are expected to be its principle user group.
Features:
* Generates HTML, SGML, XML, SQL, Postscript, form email, LaTeX, or any other
text-based format.
* Cleanly separates content, graphic design, and program code.
* Blends the power and flexibility of Python with a simple template language
that non-programmers can understand.
* Gives template writers full access to any Python data structure, module,
function, object, or method in their templates.
* Makes code reuse easy by providing an object-orientated interface to
templates that is accessible from Python code or other Cheetah templates.
One template can subclass another and selectively reimplement sections of
it.
* Provides a simple, yet powerful, caching mechanism that can dramatically
improve the performance of a dynamic website.
* Compiles templates into optimized, yet readable, Python code.
Otherwise LGTM.
--
Regards
Hartmut Goebel
| Hartmut Goebel | address@hidden |
| www.crazy-compilers.com | compilers which you thought are impossible |
0xBF773B65.asc
Description: application/pgp-keys