Hello I have always been thinking which is the best way of writing html in an MVC architecture.Would it be regular html as <div id="id1"> <input type="text" name="tBox" /></div>
or echo '<div id="id1"> <input type="text" name="tBox" /></div>';
. This is a very small example, but sometimes we can have a single variable or single echo statement having multiple lines of code.
Would we have any performance issues since php has to be parse by the webserver (apache,iis etc), while HTML gets away and is rendered directly by the browser. So would we gain any parsing time by using regular HTML?