RE: Translation - fast and dynamic plugin function and modifier

From: Date: Sat, 23 Mar 2002 19:12:09 +0000
Subject: RE: Translation - fast and dynamic plugin function and modifier
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-3321@lists.php.net to get a copy of this message
W sobota 23 marca 2002 o godz. 19:09:08 Aapo Laakkonen <aapo.laakkonen@giro.fi> napisał(a): > For smaller apps database or simply text file will do the job, but > it still does a lot of overhead that is unnecessary. For example > figure 100 translations on one page? It hits 100 times database for > one user. If there is 1000 users same time then there is 100000 hits > to database. How do you think this would scale? First, I am using persistent connection. Second, I can use Smarty cache for compiled templates. I have my guest book which does not connect to db at all. Only when I change the contents, templates are recompiled and new records are sucked from database. It is not only faster, its is more dynamic. You can change your translations as many times you need in one page. -- Jarosław Zabiełło (UIN: 6712522)

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