Resent: [SMARTY-DEV] smarty custom functions namespaces

From: Date: Tue, 26 Jul 2005 17:20:09 +0000
Subject: Resent: [SMARTY-DEV] smarty custom functions namespaces
References: 1 2  Groups: php.smarty.dev 
Request: Send a blank email to php-smarty-dev+get-2747@lists.php.net to get a copy of this message
Andrei Zmievski wrote:
Do you people realize that you are proving Rasmus's theorem with every such thing? I am speaking of "Every template language evolves until it turns into PHP".
My motivation for adding this was precisely because I don't like PHP in templates. At the moment, we assign a whole bunch of data to smarty variables then call the template. Because TikiWiki is skinnable, we have to set a varaible for every possible value a template designer might want to use in their template. With this patch, the template designer can simply 'fetch' the data they want to display without the overhead of retreiving a whole bunch of data they don't need. PHP classes and Smarty with this patch is very simmilar to the interaction between Java classes and JSP pages. -- Michael

« previous php.smarty.dev (#2747) next »