[Zope] - Using ZTemplates in PHP-like way?

Amos Latteier amos@aracnet.com
Wed, 27 Jan 1999 09:29:54 -0800


At 01:35 PM 1/27/99 +0100, Magnus Lie Hetland  wrote:
>
>I just wondered... Is it possible, (using mod_actions or something) to
>use ZTemplates with Apache, somewhat like PHP? (I admit it... I have
>some projects where I might consider not using the Zope ODB... ;)
>PHP seems nice enough, except for its ugly language... :)

You could certainly write a CGI program that gathered the environment and
form variables and called Document Template. But this would be pretty
limited. You could do things like make the background green for Netscape
users and red for IE users.

Without a rich object system behind the scenes, your not going to be able
to do anything very cool, IMHO. Without anything interesting to template,
templates are boring.

-Amos

P.S. And why bother, when you could use SSI or any number of other options.