title: How to integrate front-end and back-end seamlessly and automatically
body: <p>Since the development of a web application is usually divided into front-end development and back-end development but some codes in the front-end will be usually the same in the back-end (ASP, PHP, JSP or other server-side template engines contain a lot of HTML which is written by front-end developers), what the back-end developers need to do is to merge the HTML code into their ASP, PHP, JSP or other server-side templates.</p>
  
  <p>If the development of front-end starts before the one of back-end, it works fine. But when front-end and back-end are developed simultaneously (always like this), the problem comes. The back-end developer needs to change his template codes constantly when front-end changes.</p>
  
  <p>So, <strong>my question is</strong>, is there any way to merge the HTML code into the back-end template automatically, so that the integration of front-end and back-end will be more seamless and easy.</p>