News for hackers. Stuff that matters.
Re:How Basecamp Next got to be so damn fast without using mu... by adeelk on Friday February 17, 2012 @01:01PM (#3604266)
I think in the whole client-side rendering debate, a lot of people miss the fact that there is a one-to-one correspondence between JSON and a certain subset of HTML, that can be illustrated by the following example:

    {"user": {"first_name": "David",
              "last_name":  "Hansson"}}
    
    <div class="user">
      <div class="first_name">David</div>
      <div class="last_name">Hansson</div>
    </div>
If, as 37signals basically seem to be doing, you restrict yourself to this subset of HTML and use CSS to do _all_ presentational styling, then honestly it’s all the same either way.

There are no comments on this comment yet.