Hi 1lt !

Thu, 7 Nov 2002 09:18:00 -0500, tu as dit : 

 > No offense, but it looks pretty useless to me. It looks like a wrapper for
 > PHP. You have to learn all of the "template" commands. Why not just learn or
 > teach your designer PHP, you'd save time. The idea of a templating system is
 > to have very little logic in the HTML.

It is not a wrapper. I think you should take a look at a template source
as given previously.

For example :

~list("SELECT section FROM sections",'LM',
'section name: ~fld('section')<br/>')

would print all the sections from the table. I guess it's pretty obvious
it's not a php wrapper. For commodity any function, if its php version
exists, is used. It's to keep the source code of Templeet as small as
possible, as php takes a while to parse PHP source code. So we offer all
the PHP API in 3 or 4 more lines in Templeet, that's all.

PS: sorry for Cc: both list without reply-to, but I've posted that
message from the usenet server.

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

Reply via email to