Re: Objective opinion
| From: | Bertrand DUNOGIER | Date: | Wed, 20 Mar 2002 19:01:55 +0000 |
| Subject: | Re: Objective opinion | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-3130@lists.php.net to get a copy of this message | ||
AL> XML notation is not very nice if you ask me because html tags are
AL> mixed with xml tags and it's difficult to read and find that where
AL> it starts a loop (or something) and where it is just html.
I totally agree with this.
I sometimes look at ModeliXe's website, and i have to agree that it
looks like a great template engine. Fast, reliable, caching, good
documentation, a forum, editors extensions...
But i really don't like the XML like syntax. Smarty's syntax is in my
opinion excellent, and should not try to become simpler.
AL> I think that smarty project should focus on developers or
AL> designers, but not both. Everytime you like to do everything for
AL> everyone the result is that you have not done anything for anyone.
Yep.
AL> CheetahTemplate example:
AL> <TABLE>
AL> #for $client in $clients
AL> <TR>
AL> <TD>$client.surname, $client.firstname</TD>
AL> <TD><A
AL> HREF="mailto:$client.email">$client.email</A></TD>
AL> </TR>
AL> #end for
AL> </TABLE>
AL> I think that this is very clear. And I cannot see any reason why
AL> designer needs templating engine. I think photoshop and some
AL> illustrating software is everything they need.
Errr, in my opinion, the layout has to be ported to HTML by a web
designer. It is not my job as a developper. I just ask the web
designer for HTML files with the pictures, and i make a template from
it.
By the way, i wanted to add that according to me, smarty needs a more
attractive web site, with better support. The work done lately with
plugins repository is great, and i hope this is just a beggining :)
I know that all the work is done during free time, but this is what i
think :)
Bertrand