Live data from Hacker News

Poll: Which JavaScript framework do you use (and why)?

news.ycombinator.com

1–10 of 78 posts

Poll: Which JavaScript framework do you use (and why)?

#1
I'm trying to figure out which is the best javascript framework to learn. The last days I've read many articles and docs but I still can't decide.

My first choice at the moment is batman.js which is very similar to rails (where I'm coming from), but I'm worried that it's not so developed like others (at least checking the github repo)

Re: Poll: Which JavaScript framework do you use (and why)?

#5
post #4
post #2

where's react?

Is React really comparable to things like Angular and Meteor? From what I understand, its supposed to be used in conjunction with a lot of other libraries, being only the 'V' in MVC and all.

That would disqualify Backbone too.

Re: Poll: Which JavaScript framework do you use (and why)?

#6
We use Backbone with a view layer that we wrote on top of it called Ribcage: http://github.com/techwraith/ribcage-view

Backbone walks the line between framework and a collection of modules really well. It gives you just enough to be productive without being overly complex or restrictive. If you go the Backbone route, here's some pointers:

- Make sure you have a system in place for model management, having multiple models around for the same data can be a nightmare

- Backbone views are a bit too simple most of the time, you'll want to at least add a view hierarchy system and lifecycle events/methods.

- You can use the router for as much or as little as you'd like, don't feel like you have to have a new URL for every state in your app.

Re: Poll: Which JavaScript framework do you use (and why)?

#7
I'm going all in on Angular, even building a big open source project around it (http://ionicframework.com/). What really drew me in was hearing from developers that were using it at big, slow companies for entire teams building production apps.

Officially adopting a technology like that is pretty rare, and I guessed Angular had started to achieve a level of adoption that would make it the most worthwhile to invest in.

I also wrote more about how I think it's going to be huge, which I admit sounds best if you already love angular :) http://ionicframework.com/blog/angularjs-will-be-huge/

Post reply on HN