I am considering implanting this on my site, but I do have one issue: In my opinion, a template system does not only separate backend from frontend, but it also makes sure I do not have to repeat i.e. my HTML header on every file. How may I do this in PHPTAL?
I used to include a header file on top of every page, but this does not work with PHPTAL.
<tal:block metal:use-macro="template.html/page_template"><tal:block metal:fill-slot="content">
Your static Content here
<span tal:content="another_dynamic_content" /></tal:block></tal:block>
PHPTAL was surprisingly easy to understand. The manual explains everything quite well, but I would not say no to a tutorial. It is always better to understand when and how to use the different functions, not only how they work and what they do.