Hacker News new | ask | show | jobs
by jeffmcmahan 1946 days ago
Suppose I want to expand/contract a row view - toggle to see the details. The data is on the client and the HTML is already printed to the page; it just needs to be shown/hidden. You gunna hit the server to get back an HTML fragment that says <div class="show">? If yes, you're certifiably insane. If no, then you need client-side JS, and you're therefore going to strike a compromise between all-on-the-server and all-on-the-client, which will probably differ depending on the project.

HTML over the wire is often a useful approach; it doesn't follow that "the future" is there.