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