HTML Generation or Templates?