Re: Objective opinion

From: Date: Wed, 20 Mar 2002 18:12:42 +0000
Subject: Re: Objective opinion
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-3129@lists.php.net to get a copy of this message
If you like XML notation, go ahead and write your templates with it. Then make a prefilter that converts them into something Smarty can understand. Aapo Laakkonen wrote: > > > I believe the XML notation used by Modelixe has advantages. > > XML notation is not very nice if you ask me because html tags are mixed > with xml tags and it's difficult to read and find that where it starts a > loop (or something) and where it is just html. > > > The best implementation I have come across is the one in Zope. > > The best templating engines I have dealt with are: > > CheetahTemplate (python) > http://www.cheetahtemplate.org/ > > and > > Velocity (java) > http://jakarta.apache.org/velocity/index.html > > > Smarty is by far the best template engine I've come across for the > programmer - it helps us get our job done much quicker, but for the > designer maybe improvements could be made. > > I think that smarty project should focus on developers or designers, but > not both. Everytime you like to do everything for everyone the result is > that you have not done anything for anyone. > > > I think the future is XML, as when WYSIWYG editors start to > > understand custom XML tags the designers will be able to visually > > design the pages complete with Smarty tags. > > XSLT is one faw for templating, but is it the way to go? I think it is > sometimes, but it is not a silver bullet for anything. > > CheetahTemplate example: > > <TABLE> > #for $client in $clients > <TR> > <TD>$client.surname, $client.firstname</TD> > <TD><A > HREF="mailto:$client.email">$client.email</A></TD> > </TR> > #end for > </TABLE> > > I think that this is very clear. And I cannot see any reason why > designer needs templating engine. I think photoshop and some > illustrating software is everything they need. > > --- > You are currently subscribed to smarty as: monte@ispi.net > To unsubscribe send a blank email to $subst('Email.Unsub') > Visit Smarty's homepage at > http://www.phpinsider.com/php/code/Smarty/ -- Monte Ohrt <monte@ispi.net> Director of Technology, ispi Inc.

« previous php.smarty.general (#3129) next »