Re: Theme selector?

From: Date: Wed, 02 Apr 2003 18:25:24 +0000
Subject: Re: Theme selector?
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-142018@lists.php.net to get a copy of this message
At 4/1/2003 08:49 PM, sony@cordova.net wrote:
Also, I've not convinced anyone where I'm at now to use smarty. In my mind they are penny-wise and pound foolish. The real little extra time you might need to use a template system is richly rewarded in code re-use and future changes to the site not to mention, imho, thinking better about what one is doing.
You haven't convinced me either. Changing the included CSS file, if you're using CSS-P for your layouts, lets you re-use *all* of your PHP code. Including extra files for templates in sub-directories sounds like a terrible waste of server space to me. Plus, once you've created the CSS files, the rendering overhead is shifted to the client, saving your server the extra processing for a template. And as for better thinking, CSS-P lets me debug a lot faster because the individual sections are truly modular in both the PHP code and the finished output. I was hoping for some convincing reasoning for using Smarty templates over CSS, but "code re-use and future changes" aren't doing it for me since I get both of those in spades with CSS-P. -- S. Keller UI Engineer The Health TV Channel, Inc. (a non - profit organization) 3820 Lake Otis Pkwy. Anchorage, AK 99508 907.770.6200 ext.220 907.336.6205 (fax) Email: skeller@healthtvchannel.org Web: www.healthtvchannel.org

« previous php.general (#142018) next »