* John W. Holmes <[EMAIL PROTECTED]> [2004-04-14 11:57:00 -0400]: <snip> > You're relying on web-server writable directories when you use Smarty. > It's all a trade-off.
This gets problematic in multi-user environments. You cant use mod_php anylonger, instead you have to switch to slow cgi+suexec. Okay, w/ metuxmpm this problem goes away - each vhost can get its own uid - but its not 100% stable yet (some rarely situations w/ recoursive requests seem to make MT problems) > > But what if you want to take your template and perform a bit more than > > just mere variable substitution on it? How about highlighting all > > words that match a search term, or applying logic to a display block > > based on a user status? > > You can do this with output buffering and PHP functions. Smarty just > provides you a different interface. Output Buffering is a bad hack. The original branch of content-builder's base template system used this, but I've completely removed this - now there's exactly one print call at the very end of the page processing. If there have to be snippets rendered separately, it goes directly into variables or the template-engine's internal buffers (required when template processing run in a different process or host) cu -- --------------------------------------------------------------------- Enrico Weigelt == metux IT services phone: +49 36207 519931 www: http://www.metux.de/ fax: +49 36207 519932 email: [EMAIL PROTECTED] cellphone: +49 174 7066481 --------------------------------------------------------------------- -- DSL-Zugang ab 0 Euro. -- statische IP -- UUCP -- Hosting -- --------------------------------------------------------------------- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php