Re[2]: [PHPTAL] ajax and phptal

2009-09-21 Thread GRolf
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

Re: Re[2]: [PHPTAL] ajax and phptal

2009-09-21 Thread Kornel Lesiński
On 21-09-2009 at 08:51:17 GRolf ger...@pictureparking.com wrote: In these circumstances, using AJAX to retrieve only part of the page is harder. Do you have any feedback on that? For maintenance and support, I really really like to keep my templates grouped with the script. I know I could

[PHPTAL] ajax and phptal

2009-09-18 Thread hosemaria
Hi 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

Re: [PHPTAL] ajax and phptal

2009-09-18 Thread Kornel Lesiński
On 18.09.2009, at 23:34, hosema...@poczta.onet.pl wrote: Hi 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