As the title says, I refuse to use a common template engine. I have my reasons, so instead of doing this:<ul><li><a href = #>test</a><li>{CommonParam}</li></ul>I do this:function listBlock($array){echo '<ul>';foreach($array as $foo){echo '<li' . $foo['args'] . '>' . '<a href = '' . $foo['link] . ''>' . $foo['text'] . </li>';}echo '</ul>'}// now we'd call listBlock($myarray)My question is quite simple... as I'm actually developing my own custom framework, I know it's a bit difficult to maintain this code, but it works great. Is this a good practice?
Refusing to use a common template engine
php;mvc;template