Re: [SMARTY] Smarty and ZopePageTemplates
| From: | Peter Bowyer | Date: | Wed, 19 Jun 2002 17:06:24 +0000 |
| Subject: | Re: [SMARTY] Smarty and ZopePageTemplates | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-4944@lists.php.net to get a copy of this message | ||
Hi Andres
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 biggest!I agree, it's a very nice way to work (so long as the designer doesn't mess up the tal: tag!) and really allows one to design the page.
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?I don't know. Monte and Andrei seem to think so, and as they wrote Smarty I'll let them make the judgement :-) By the way, why the transition from python to PHP? (assuming that you were doing a Zope site before) Peter -- Maple Design - quality web design and programming http://www.mapledesign.co.uk