Are we going backwards using a library like Backbone.js(stackoverflow.com) |
Are we going backwards using a library like Backbone.js(stackoverflow.com) |
In terms of going backward, I think that there are some advantages and drawbacks. There clearly a polling/ajax problem when alot of people need to be pinging the server for tiny updates. If all of this can be pushed onto the client (especially requests for html blobs) you reduce server traffic and make things more snappy (no more preloaders). The downside is having all your code on the client. I wonder if there are unsolved security implications to having so much logic on the client. All-in-all for a standard web app, theres nothing wrong with the old school 'keep it on the server' approach. But if you need alot of dynamic "app"-like behavior, then having a front end API will benefit you more in the end.