Hello

I'm working to a develop a new framework for myself and i come to a big issue choosing the right template system. I'm interested the most in making it easy for future developers who will work with it. I have 2 options, using a template with a macro scripting like smarty or using something more basic where the php takes care of all the "logic". Until now i used something like the one bellow and was pretty useful.

[tablehead]
html code
{DATA}
footer html code
[/tablehead]

[tablerow]
some html content {VARS} {VARS2} all comes from database
[/tablerow]

I coudnt find the pros and cons for each so i can decide the way i should go. Smarty its very big and slower then the other solution and you need to learn another scripting

Thanks