From: "Kelly Hallman" <[EMAIL PROTECTED]>
Sure, they could. However, take a look at all the newbie questions on this list. Maybe you've got time for all that hand holding.. but Smarty is a lot closer to HTML, which many of them already know.
{$variable} is no more closer to HTML than <?=$variable?>. Either way you still have to teach them the templating engine langauge. That language can either be Smarty or a specific subset of PHP functions/methods that serves as your templating engine (like how Justin had to write the "cycle()" function). If you can teach them how a {section} works, then you can teach them how a foreach() works or write a section() function that works just the same.
This is the issue I have with things like Smarty. No matter if I use PHP or Smarty, I have to 'teach' my designer how to 'code' in some aspect...and I've met quite a few designers who can't grasp JavaScript, much less Smarty or PHP. Personally, I have the designers give me a HTML layout of the page to where I can cut up the HTML, and throw it into include files.
-- *********************************************************************** * _ __ __ __ _ * John Nichel * * | |/ /___ __ \ \ / /__ _ _| |__ ___ __ ___ _ __ * 716.856.9675 * * | ' </ -_) _` \ \/\/ / _ \ '_| / /(_-<_/ _/ _ \ ' \ * 737 Main St. * * |_|\_\___\__, |\_/\_/\___/_| |_\_\/__(_)__\___/_|_|_|* Suite #150 * * |___/ * Buffalo, NY * * http://www.KegWorks.com [EMAIL PROTECTED] * 14203 - 1321 * ***********************************************************************
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php