Live data from Hacker News

Ask HN: Which JavaScript frameworks do you use?

news.ycombinator.com

21–30 of 71 posts

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

#24
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…

Also using ractive here. Very happy with it.

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

#25
I use plain vailla JS with some libraries I like for the functionality I need. I can easly replace any lib when something better or some new functionality that the old lib does not implement comes out:

- form2object for form serialization

- pnotify for notifications

- routie or page.js for routing

- jqplot for graphs

- jquery for dom manipulation and ajax calls

- moment.js for date math

- socket.io for websockets

- ejs for templating

- bootstrap for the layout

and not much more really.

1. Time needed for Learning the Framework (in Hours): A few months to learn JS really well

2. Overall Development Speed (0-3 Points, greater better): 2

3. Maintainability of the Code (0-3 Points, greater better): 3

4. Why did you choose that Framework?: I didn't want to be locked in to angular when react comes out, or be locked in to react when the next big thing comes out.

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

#26
After months of agonizing, for my startup I settled on Ember.js for desktop apps, and Cordova + jQuery for tablet apps (we'll see if we need an actual framework, and if we'll want/need phone apps).

I chose Ember because its programming model feels like you're programming with classes, and in general, it's the most object-oriented of the top contenders (the others being React and Angular) and provides, in my opinion, the best way to organize your code.

Note: nothing significant has been built yet on the client-side (we are currently building the back-end with Django and Django Rest Framework). But having read documentation and done tutorials for Angular, Ember, and Knockout, plus courses for Backbone and Ember, I felt Ember, while requiring some initial commitment to learn, would give the best return on our investment.

The way the Ember project is managed also inspires confidence. "Stability without stagnation" means there won't be big, bad rewrites, or breaking changes introduced without enough of a heads up to facilitate a smooth migration to a newer version.

Edit: you mention isomorphic frameworks. One of the top contenders there is Meteor, but it currently gives you no choice but to use MongoDB, which rules it out for a lot of people.

Edit 2: fixed a typo.

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

#28
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 some frameworks is the writing HTML templates as strings in JS. I've seen a lot of folks arguing that "it's different this time" and that writing string HTML in JS is OK, but it just is such a smell to me to write one language as a string in another.

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

#29
At my job we're starting to use angular as it helps us separate business logic from UI and even IO.

1. I would say no more than 2 hours at worse. The biggest issue for me is understanding the creation of methods for an object (I'm use to C# and Java, so JS is generally alien to me).

2. 1.5 - 2.

3. 2.5 once you have the core logic for your object models laid out.

4. Because it was what my employer mandated, unfortunately, I prefer Knockout but it all seems to the same in terms of end result. There's minor differences in terms of templating your pages such as for tabular data. The rest seems to be purely a matter of preference and familiarity.

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

#30
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…

Agreed. I very much appreciate tools that do one thing well, and Ractive falls exactly in that category.

DeloreanJS [1] complements it well for Flux-y architectures.

[1] - http://deloreanjs.com/

Post reply on HN