Live data from Hacker News

Ask HN: Which JavaScript frameworks do you use?

news.ycombinator.com

51–60 of 71 posts

Re: Ask HN: Which JavaScript frameworks do you use?

#51
post #31

I like Mithril which is similar to React/Ractive. https://lhorie.github.io/mithril/ It doesn't abstract away too much from JavaScript and provides good methodologies as outlined in the Learn/Guide section of the site. As per your points: 1. A good couple of hours to about 6 depending on expertise just to test the workflow, get comfortable with MSX and to read the docs. 2. I've not used it in production as for current…

If the benchmark claims are true I think it'd be super cool! Would have to see for myself though.

Re: Ask HN: Which JavaScript frameworks do you use?

#52
post #8

ractive. It's the best kept secret in web development. Want a live binding, 2 way, super performant virtual DOM, that feels less like a framework and more like something that came with JavaScript? var binding = new Ractive({ el: '.some-class', template: ' Hi there {{ name }} ', data: { name: 'Alex' } }) It's created and maintained by The Guardian interactive team. http://www.ractivejs.org/ ## Time needed for Learning…

This is my go too library for all new projects now. Big or small because its that easy to work with and makes web development that much easier.

Re: Ask HN: Which JavaScript frameworks do you use?

#53

We use Knockout in our workplace. I particularly like it because it is lightweight (you can mix it with plain JS or jQuery) and because it doesn't involve writing HTML as a string in JS. We write mostly internal apps and so performance/scaling are not usually on the radar, but ease of maintainability across a wide spectrum of developer skill levels is. As for comparing to other frameworks, my biggest concern with som…

Have you started using the new components available in knockout? http://knockoutjs.com/documentation/component-overview.html As a knockout enthusiast I was excited to see that get developed.

Yes (and I like them too), but I don't put the template as text. Instead I use one JS and one HTML file per component, loaded with require.js.

Re: Ask HN: Which JavaScript frameworks do you use?

#55

Earlier quoted context omitted.

Have you started using the new components available in knockout? http://knockoutjs.com/documentation/component-overview.html As a knockout enthusiast I was excited to see that get developed.

Yes (and I like them too), but I don't put the template as text. Instead I use one JS and one HTML file per component, loaded with require.js.

Yeah I'd imagine most people don't use the template as text -- one of the best parts about knockout is it's natural (HTML) feeling templates.

What do you use for routing?

I've been dreaming up a framework that's actually knockout +/- routing +/- requirejs +/- model management...

Re: Ask HN: Which JavaScript frameworks do you use?

#56

I use Marionette: http://marionettejs.com/ 1. You can grasp the basics in just a few hours, but obviously this is entirely subjective. A week-long training course will really get you going, though. The nice thing in terms of learning it is that the maintainers consider Marionette the "non-framework framework," in that it's just JavaScript, with no new paradigms to learn. 2. Hmmm, 3 for me, but that's also subjective.…

I'm surprised you didn't mention backbone once... Are you using marionette without backbone? BTW, skeletor here (I think we may have worked together before, very very recently)

Haha, hey man! No, it's not really possible to decouple Marionette from Backbone, I just don't like typing "Backbone Marionette" every time, so I just use "Marionette." But for the uninitiated, Marionette is indeed a layer on top of Backbone.

Re: Ask HN: Which JavaScript frameworks do you use?

#58
post #8

ractive. It's the best kept secret in web development. Want a live binding, 2 way, super performant virtual DOM, that feels less like a framework and more like something that came with JavaScript? var binding = new Ractive({ el: '.some-class', template: ' Hi there {{ name }} ', data: { name: 'Alex' } }) It's created and maintained by The Guardian interactive team. http://www.ractivejs.org/ ## Time needed for Learning…

I also use ractive for everything i can. Everytime i have to work with something else i want to shoot myself in the head after some time.

Re: Ask HN: Which JavaScript frameworks do you use?

#59

Earlier quoted context omitted.

Yes (and I like them too), but I don't put the template as text. Instead I use one JS and one HTML file per component, loaded with require.js.

Yeah I'd imagine most people don't use the template as text -- one of the best parts about knockout is it's natural (HTML) feeling templates. What do you use for routing? I've been dreaming up a framework that's actually knockout +/- routing +/- requirejs +/- model management...

I haven't done any client-side routing. Normally each page is either static HTML/JS or is served by ASP.NET MVC on the server side. Then APIs are used to load the models on the client side and perform interaction. In other words, we're not making any effort to move to "single page" applications.

Re: Ask HN: Which JavaScript frameworks do you use?

#60
post #7

I think the self-reported data that you're going to get is going to be worthless. Anyone who says (for example) that they learned Angular in 3 hours probably didn't really learn Angular. If I were you (and honestly I wish I was, I loved being a student) I'd focus much less on analyzing an arbitrary list of JS frameworks and instead turn my attention to questions like: Why are there so many frameworks in the first pla…

"Why are there so many frameworks in the first place?" seems like a question for psychology paper more than a computer science one :)
Post reply on HN