Re: [SMARTY] Re: SMARTY not for WYSIWYG designers?
| From: | Dr Tarique Sani | Date: | Fri, 28 Feb 2003 01:54:35 +0000 |
| Subject: | Re: [SMARTY] Re: SMARTY not for WYSIWYG designers? | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-8282@lists.php.net to get a copy of this message | ||
On 27 Feb 2003, Monte Ohrt wrote:
> Smarty? The first step would be identifiying exactly what Smarty's role
> in a Dreamweaver/PHP environment should be, and how to approach that.
Official extension - well maybe we at SMARTY can label a suitable one as
official BUT given Macromedia's record for PHP I doubt much will done by
them
IMHO a right approach will be extend the current template functionality so
that it supports more functionality, currently you can have in Dreamweaver
MX templates
1) Variables
2) Repeating sections (for loops)
3) Optional blocks (if statements)
4) Nested templates (not really relevant)
The best part I like about it is that the designers dont see things like
{$content} but instead whatever dummy content is filled in, even the
image src can have a placeholder image instead of {$image_src}
This gives a very near WYSIWYG representation of the final page
Also designers are dealing with a feature in *their* software and not
being asked to learn, as some put it, new fangled programming tricks ;)
Tarique
--
===================================================================
PHP Applications for E-Biz: http://www.sanisoft.com
-o)
/\\
Indian PHP User Group: http://groups.yahoo.com/group/in-phpug _\_v
===================================================================