Re: template, not template that is the problem.

From: Date: Fri, 25 Mar 2005 10:49:31 +0000
Subject: Re: template, not template that is the problem.
References: 1 2 3  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-18329@lists.php.net to get a copy of this message
Symbulos Partners wrote:
uhm .. no like I said using template engines that do regexp based search
regexp based search? ops! what does that mean?
basically IT[X]/Sigma use regular expressions to find placeholders and blocks. your code then is able to replace these placeholders and blocks. this means the content of the templates is not included as code but as text in your application. this has severe disadvantage however since it does incurr a performance overhead that can be countered by caching. another disadvantage is that it doesnt allow any loayout relevant logic. meaning you need to add another layer to truly separate business from layout. for example its not easily possible to give the designer the choice to use alternating row colors without using another layer or embedding the necessary logic in your business logic. regards, Lukas

« previous php.pear.general (#18329) next »