I am working on ajax php website. Ajax makes using phptal more complicated.
My approach is to divide single page to several php files and every time at
single page i create new object of $tpl. It means that I have to use several
$tpl->execute() at the first page load. I think it is not optimal.
My question is whether there is most efective way to use phptal and ajax?
PHPTAL mailing list