[ZPT] Truncating strings

Shane Hathaway shane at zope.com
Thu Oct 23 07:57:24 EDT 2003


On Thu, 23 Oct 2003, Tino Wildenhain wrote:

> While Shanes path prefix proposal would at least have a meaning to
> the other implementations, the constant use of fairly complicated
> expressions in python with all their tal-define, python: prefixed
> expressions and all makes a transition very hard.
> And its completely diametric to what ZPT was about to solve:
> a clean templating language for separation of code and design.

That's one of the goals you can achieve with ZPT, but it's not the real
goal.  The real goal (as chosen by Zope Corporation) is to create dynamic
pages without burdening either the programmer or the designer.  Complete
separation does not necessarily achieve that goal.  If you want a
templating language that truly separates code and design, which tends to
become a burden for both programmers and designers, you should look at
what Phillip Eby has been cooking.

> What on earth is wrong with preparing the data before use in ZPT?
> Most of the problems are solveable yet with python scripts.

Should every template have an associated script?

Shane



More information about the ZPT mailing list