At 4/1/2003 08:49 PM, [EMAIL PROTECTED] 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: [EMAIL PROTECTED]
Web: www.healthtvchannel.org


-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to