top | item 5422045

Ask HN: What JS framework do you use for web apps?

13 points| colinhowe | 13 years ago | reply

Trying to find out what JS frameworks people actually use to build web applications rather than what people talk about ;)

By frameworks, I'm referring to things like Angular, Dojo, etc. If in doubt, mention it.

I'd also love to hear about what people think of the ones they've used.

I'll collate all this together and report back :)

14 comments

order
[+] kls|13 years ago|reply
Surprised it has not been mentioned but almost everything I build not matter the higher level framework, starts with require.js. Require alone goes a long way to cleaning up code structure and overall architecture. I like Dojo for really big corporate apps where I am basically replacing a desktop app with a web based equivalent. It's popularity has faded in the past few years which is a shame, because it and Ext are really the only two frameworks around that are targeting enterprise apps.

For consumers facing stuff I generally use a combination of Backbone, jQuery, underscore and some other libs added in as needed. That is probably the most common stack you will see out there.

[+] stopcyring|13 years ago|reply
jquery.

fancy frameworks introduce complexity, bloat, bunch of magic that works behind the scenes. for small stuff you don't care about it might be nice, for anything serious i would run my own code.

[+] bmelton|13 years ago|reply
That's funny, as someone who's got a ton of bloated jQuery that we've mostly migrated to Backbone, I would have argued exactly the opposite.

Our front-end guy, who is a jQuery wizard but new to Backbone, originally looked at the conversions I'd done and was quick to remark at how clean it all was.

Is there magic? Sure, but in Backbone, not that much of it. There's decidedly more in Ember, but they're both open projects so you're welcome to go scour through the magic and figure it out for yourself.

I would feel remiss if I didn't also point out that code you write in Backbone is just as much your code as code you wrote in jQuery. As for magic quotient, I would also suggest that jQuery is more magical than Backbone, on the whole. If you think otherwise, that probably just speaks to a lack of familiarity with one compared to the other.

[+] wpiel|13 years ago|reply
angular.js

This series of quotes from a dev I work with captures a common visceral experience of working with angular.js for the first time: "I've never been so frustrated with code before" ..an hour later.. "You stare at something broken for 20mins, then the fix occurs to you and the truth of it is just so beautiful." We switched from backbone.js to angular.js about 8 months ago, and the team is generally very happy.

[+] domrdy|13 years ago|reply
jQuery + Backbone + Marionette for rapid prototyping. I usually throw in Handlebars for templating.
[+] chudi|13 years ago|reply
jquery, jquery mobile only for the page/events system, not the ui
[+] logn|13 years ago|reply
SilkJS and Enyo
[+] ttrashh|13 years ago|reply
knockout.js

require.js

durandal.js

[+] colinhowe|13 years ago|reply
How do you find Durandal? It looks pretty much exactly what we want