RE: [PHP3] template engine example document

From: Date: Sat, 25 Mar 2000 17:25:27 +0000
Subject: RE: [PHP3] template engine example document
References: 1  Groups: php.template 
Request: Send a blank email to php-template+get-468@lists.php.net to get a copy of this message
> have table rows with alternating colors, the other may not. With the > system we built, it's achievable. How do you handle it? > with php. That's perhaps a bit too snide a remark, especially regarding all the hard work that Andrei has done with the template stuff. Yet, it does strike me that php was built for the purpose of making a HTML templates. php is a very powerful template engine for HTML. That said, and having reviewed the template examples, I do see the merit in the {section} concept. It does seem easier than a traditional for loop. The problem is with all the other stuff, like another way of doing "if" statements and another way to do comments. Making now 4 ways of doing comments. /* comment */ <!-- comment > // comment {* comment *} Isn't there a way to get the Andrei's section concept into the php core, so that we could stick with one form of syntax? --pk

« previous php.template (#468) next »