title: Return HTML or build HTML using javascript?
body: <p>I am returning data about contacts to build a list</p>
  
  <p>the basic html looks like</p>
  
  <pre><code>{repeat:20}
  &lt;div class="contact"&gt;
    &lt;a rel="123"&gt;FirstName LastName&lt;/a&gt;
    &lt;div class="info"&gt;
      {repeat:5}
      &lt;div&gt;
        &lt;div class="infoLabel"&gt;Age:&lt;/div&gt;
        &lt;div class="infoPiece"&gt;56&lt;/div&gt;
      &lt;/div&gt;
      {endrepeat}
    &lt;/div&gt;
  &lt;/div&gt;
  {endrepeat}
  </code></pre>
  
  <blockquote>
    <p>The {repeat:20} is not actual code<br />That block of code is repeated 20 times</p>
  </blockquote>
  
  <p>My question is.</p>
  
  <p>What is more benificial:</p>
  
  <ol>
  <li>Create the markup server side, return the actual html.</li>
  <li>Return Json data with the information and build the list client side.</li>
  </ol>
  
  <p><hr />
  <strong>For the purpose of this discussion let us assume some constants</strong></p>
  
  <ul>
  <li>Server load is not an issue (we are using a high performance server)</li>
  <li>The returned data is for display purposes only (not to be manipulated)</li>
  <li>We are not factoring in users without javascript enabled.</li>
  <li>We are not factoring in any browsers &lt; Internet Explorer 7</li>
  </ul>