Ask HN: Is jQuery really awful for Single Page Apps?

https://news.ycombinator.com/item?id=7136222
by notastartup • 12 years ago
6 7 12 years ago

This is what I see when I read the introduction to backbone.js

    When working on a web application that involves a 
    lot of JavaScript, one of the first things
    you learn is to stop tying your data to the DOM. It's 
    all too easy to create JavaScript 
    applications that end up as tangled piles of jQuery 
    selectors and callbacks, all trying frantically to keep 
    data in sync between the HTML UI, your JavaScript logic,     
    and the database on your server. For rich client-side 
    applications, a more structured approach is often   
    helpful.
Is this really justified? Meaning is learning and writing more javascript code a solution to the potential problem highlighted in that paragraph? I am not convinced because I can do so much more in my head using jQuery nor have I experienced a great deal of difficulty for building Single Page Applications with a LAMP backend.

Related Stories

Loading related stories...

Source preview

news.ycombinator.com