Live data from Hacker News

Ask HN: What is the best alternative to Angular JavaScript framework?

news.ycombinator.com

31–40 of 64 posts

Re: Ask HN: What is the best alternative to Angular JavaScript framework?

#33

I really like KnockoutJS, having used it on multiple projects, both personal and professional. Many will say that it can't really be apples-to-apples compared with Angular since it's technically MVVM, it lacks many of Angular's features, like dependency injection etc. etc. And that's all true. But, the end result for me is that I'm able to rapidly build sophisticated client apps. I'd have to dig up the links, but the…

Do you do databinding? I like KnockoutJS too, but to me it is purely limited to making a page more interactive, not much with back-end integration.

Re: Ask HN: What is the best alternative to Angular JavaScript framework?

#34
post #18

React, which is "just the V in MVC" Combine that with Reflux[1], which is a more opinionated framework around it. It's conceptually a little different than the Flux pattern that Facebook recommends, but the changes make sense after you have some insight into the Flux pitfalls. Stir in some react-router[2]. It's still not as full featured as Angular or Ember, so you'll need to adjust your expectations there. On that n…

Will all due respect, what are the odds that a single guy has "insights into Flux pitfalls" that the gigantic creator of React, that is deploying the tech for billions of people, has missed?

Quite high, actually. Remember this question is motivated by the pitfalls of Angular, which many "single guys" have legitimate architectural criticisms of:

https://news.ycombinator.com/item?id=8651641

Your reasoning about facebook and React should apply equally well to Angular and google, if it were valid.

The fact is that with complex technology, even very smart, well-funded people routinely miss things and make decisions that turn out to be wrong in retrospect.

Re: Ask HN: What is the best alternative to Angular JavaScript framework?

#36

I really like KnockoutJS, having used it on multiple projects, both personal and professional. Many will say that it can't really be apples-to-apples compared with Angular since it's technically MVVM, it lacks many of Angular's features, like dependency injection etc. etc. And that's all true. But, the end result for me is that I'm able to rapidly build sophisticated client apps. I'd have to dig up the links, but the…

I second this.

On a previous project for our company, another dev and I were able to research and decide whether to use Angular or Knockout for a specific project. We concluded that for us, Knockout was the better choice because it seemed lighter-weight in terms of actually achieving our end goal which was simply doing reactive data-binding on the client side rather than having to do so with jQuery manually. We've since used it to create some pretty awesome user experiences that would have been a pain manually. To us, it didn't seem Angular would have been a poor choice. Rather, it was just that our goal was such that we did not need everything that Angular offers.

Re: Ask HN: What is the best alternative to Angular JavaScript framework?

#38

Use EmberJS. Great framework with a good core team that really listen to the community. Further details: http://t.co/GKoBKpIReq Backward compatibility is always in mind.

We're using Ember and have been for a couple of years now and it's come a long way in that time. 12 months ago I'd have struggled to recommend it but it's improved significantly.

What I would say is that like most frameworks it makes things easy when you do it the way it wants you to and will fight you like crazy when you don't. The downside with Ember, probably more than most, is the way it wants you to do things isn't always as obvious as it might be. There is a way and you're going to be able to do what you want to do but you're probably going to have to dig a bit and it might not be intuitive.

Short version: expect something of a learning curve.

Re: Ask HN: What is the best alternative to Angular JavaScript framework?

#39
post #33

I really like KnockoutJS, having used it on multiple projects, both personal and professional. Many will say that it can't really be apples-to-apples compared with Angular since it's technically MVVM, it lacks many of Angular's features, like dependency injection etc. etc. And that's all true. But, the end result for me is that I'm able to rapidly build sophisticated client apps. I'd have to dig up the links, but the…

Do you do databinding? I like KnockoutJS too, but to me it is purely limited to making a page more interactive, not much with back-end integration.

My team does data-binding with it via its mapping plugin. It's very powerful to use if you're working with json data to/from your server.

Re: Ask HN: What is the best alternative to Angular JavaScript framework?

#40

EmberJS is a great alternative. It's a bit more involved and all-or-nothing, but you gain so much in return. Mainly: * Consistant project structure. * Great toolchain. * Ember-Data --- If you're starting to learn EmberJS or are making a new project, start out right using Ember CLI. It's the defacto way of building Ember applications.

Worth pointing out now that Ember Data is still in Beta. It's a late Beta so you're probably safe but it's not impossible that it will change.
Post reply on HN