Re: [SMARTY] Re: Newsreader developed with Smarty

From: Date: Wed, 16 Jul 2003 15:55:52 +0000
Subject: Re: [SMARTY] Re: Newsreader developed with Smarty
References: 1 2 3  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-9901@lists.php.net to get a copy of this message
Sat, Jun 28, 2003 at 12:15:24PM +0200 Luc Saint-Elie To smarty-general@lists.php.net LSE> Why do I need Smarty ? because its for include in a Smarty based site, and that's nothing especial, I asked because I experienced overheads with phNNTP when number of messages was more than ~1000, like it is at php.general. So I revoked phNNTP on behalf of the stuff launched at http://news.php.net (I seem to call it PhpNewsWeb) and is available for download at the CVS2WWW gate somewhere at www.php.net as part of PHP itself. And. again, I seem your reason (inclusion in a Smarty-based site) is facultative (insignificant) since Smarty is able to execute any single php command with {php} instruction with all of the global variables and (seems) defined functions be visible since Smarty provides PHP code after compiling. I did that practice when I needed to include bar-style chart --- I simply included the code used HTMLGraphs class with its own output methods and I transmitted the variables into that "template-included" PHP file quite transparently. Anyway, your milage may vary (c) :)

« previous php.smarty.general (#9901) next »