3 ms·
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
by adeelk 15y ago
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.