This is a discussion on RE: Templates... (dumb me) within the PHP General forums, part of the PHP Programming Forums category; http://www.mif.vu.lt/~doma2988/tpl/ ________________________________________ From: Donatas [mailto:MDonatas@centras.lt] Sent: Monday, July 14, 2003 7:...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
http://www.mif.vu.lt/~doma2988/tpl/
________________________________________ From: Donatas [mailto:MDonatas@centras.lt] Sent: Monday, July 14, 2003 7:38 PM To: 'php-general@lists.php.net' Does anyone know any other way used in template engines for loops but creating array first and passing it to template class? This is rather annoying and it makes work slower and code harder to read. I've made my own template class with variable and loop support. Loop handling is way different from what I've seen in other template engines. I've made few screenshots of code examples (I was too lazy to add font colors). Please let me know if you've seen this idea before, and what you think of it. The class still needs some tweaking but I'll post it here some other day if anyone is interested. Cheers, Donny |