Faster/better: Fetch a few JSON-objects with PHP or JavaScript
<p>Personally I would do this with PHP but maybe someone has an pro/contra for doing this with JavaScript:</p>

<ul>
<li>I (will) fetch a few song details (about ten per page load) from Soundcloud</li>
<li>afterwards the statistic (played this week/total, liked this week/total etc.) will be displayed in a table</li>
</ul>

<p>That's it - nothing special.</p>

<hr>

<p>I can solve it like this:</p>

<ul>
<li>let PHP do the stuff and render the whole page at once</li>
</ul>

<p>This will of course take some time before the page is rendered.</p>

<p>Is there any advantage of doing this with JavaScript? I can only think of:</p>

<ul>
<li>the page renders faster (with the disadvantage that the results may not be displayed instantly)</li>
</ul>
