Re: HTML_Template_IT return value from loadTemplatefile

From: Date: Fri, 18 Apr 2003 11:16:03 +0000
Subject: Re: HTML_Template_IT return value from loadTemplatefile
References: 1 2 3  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-4944@lists.php.net to get a copy of this message
Greetings! 17 Апрель 2003 22:51, Thomas A. Lowery написал: > OK, it'll try it ... however this class suffers from (as most of PEAR > does) lack of documentation. As someone new to PHP development the lack > of well written examples and easily located documentation drives me > nuts. Well, in fact I am going to continue work on Sigma (that means write documentation as well) after the QuickForm 3.0 beta cycle is over. > Does the cache when the template changes and rebuilds the cached file? Yes. > Cache have a TTL (time to live)? No. No data caching is going on (use Cache/Cache_Lite for this), so 'cached' version is valid until the source changes. > Are there any stats on time to parse the template v.s. loading from a > file? Sort of. There is some profiling info available: Reference, this is how HTML_Template_ITX works on every request: http://158.250.10.119/pear/profiling/itx.png HTML_Template_Sigma when prepared files are not yet available and are being generated: http://158.250.10.119/pear/profiling/sigma-first.png HTML_Template_Sigma when loading prepared files instead of the source ones: http://158.250.10.119/pear/profiling/sigma-prepared.png I never did any formal benchmarks.

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