Smarty and ZopePageTemplates
| From: | Andres Ferrando | Date: | Wed, 19 Jun 2002 15:10:15 +0000 |
| Subject: | Smarty and ZopePageTemplates | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-4936@lists.php.net to get a copy of this message | ||
Hi!
I've been using Zope Page Templates (ZPT), and now I'm looking for
something similar in php.
Smarty comes really close in functionality, but have a big diference
(and not for better, I think) in syntax ...
ZPT are defined as atribute namespaces, and sytax is 100% compatible
with XHTML, so the files can be edited with any editor (like Dreamweaver
or any other), modified by the programer, and edited again without
troubles for the designer.
a simple example, could be:
<a href="other.htm" tal:content="link">Link to other</a>
This way, the designer can work easily on the templates, and separation betwen
design and logic is bigest!
So, I've read that I could change open and close tags, so editors don't
scream, but it's still wrong xhtml syntax ... is to hard to change that?
Hope I was clear, any doubt, I still here :)
--
Andres Ferrando <anferr@mecon.gov.ar>