Re: [SMARTY-DEV] Smarty loading time

From: Date: Thu, 01 May 2003 19:31:13 +0000
Subject: Re: [SMARTY-DEV] Smarty loading time
References: 1 2 3  Groups: php.smarty.dev 
Request: Send a blank email to php-smarty-dev+get-1313@lists.php.net to get a copy of this message
There are some efforts going on to abstract some more things out of core, albeit difficult to do without incurring runtime overhead. A touch on the subject here: http://www.phpinsider.com/smarty-forum/viewtopic.php?t=145&start=15 On Thu, 2003-05-01 at 14:23, Rémy Dufour wrote: > Hey man...cool down ! > > > > In my response to your posting in smarty-general, I already told you that > > this is the time PHP needs to parse the file. There is no way accelerating > > this. > > Why not ? > > > It is faster on average dedicated webservers out there than on your > > machine, and if you don't have these 35msecs, either use another template > > engine or try somehting like PHP Accelerator. > > Here we develop solution for shared server.. we dont have acces to server's > plugin like phpa or the like. > and since i've try Smarty i fell in love with it... i've already work with > phplib template but i think it made is time up ! > > > I have no clue if you don't > > read responses to your messages or what, but these are the facts, accept > it, > > and take yourself some minutes to think about the effectivity of splitting > > up ONE class into several "smaller" ones... Smarty.class.php contains ONE > > class Smarty which doesn't contain too much unnecessary things > > Thank-you for your rapid response. But it dont sastisfy me and its my right > to repost my question on another list. > And for splitting Smarty, it was already done with > Smarty_Compiler.class.php. > When the page is not compiled, the Compiler class is loaded/parsed and > compile the page, once it is compiled, there is no need to load/parse > Compiler class... and thats what Smarty do! Now i just wanna know if there > is someway to do that when the page is cached... i mean some very light > Smarty.class.php that just fetch the page if it is cached... or load some > Smarty_Parser.class.php (why not...) that parse and cache the page if not. > I'm sure is not that simple, but... maybe for a next version... is there any > developpement in this way ? > I'm willing to give some help if it is possible.! > > Regards! > Rémy > > -- Monte Ohrt <monte@ispi.net>

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