Re: [SMARTY] Re: Caching for portals?

From: Date: Mon, 15 Apr 2002 22:02:23 +0000
Subject: Re: [SMARTY] Re: Caching for portals?
References: 1 2 3 4 5  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-3759@lists.php.net to get a copy of this message
"Michal Prinke" <bogien@conecto.pl> schrieb: > ...thanks, you are right, but still the PHP-coder has to care for things > that should be done by the template designer. Not for real. The decision to use / not use a cache-function is not a designers part. It's the definitly the coders part. > In the ideal case, > the PHP-coder shouldn't even know how "index.tpl" is split into subparts > and which of them are cached - he should only implement the db part, > the business logic, pass some variables to the template and then, call > display() or fetch(). Not for real, again. :-) The coder has to know about subtemplates, because he does the logic to serve and assign contents to these templates and to put the filled templates into their parent. It's not the designers job to care about these things. The designer only has to care about the order "Do design on a sub-/template for 'foobar'.". > And that's what it's all about, "separation of > form and content is a Good Thing [TM]". ;))) That's still right, anyway. ;-D Norbert

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