Live data from Hacker News

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

news.ycombinator.com

51–60 of 64 posts

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

#51
I'm in the same boat and am curious, how is Dart and Polymer.dart? I watched a few videos from Google I/O, etc. and am really impressed with how much more sane Dart seems to make the frontend development world. Anyone gone down the path of Dart & Polymer.dart and had any major regrets?

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

#52

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 concur, Knockout is awesome despite being un-hyped. Small, stable, reliable, compatible with IE6+.

If you want a modern ES5 alternative there's also Vue.js

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

#53
post #7

Note that the weird direction is not final yet - Angular 2.0 is still a ways off, you don't actually have to use AtScript to build your applications (ES6, ES6 + Traceur annotations, CoffeeScript, Dart, AtScript should all work), and the funky HTML attribute syntax is still under debate because most browsers don't actually support .setAttribute() with bracketed attribute names. Besides, 1.x works and will keep functio…

Thats exactly what you DONT want to do. "hold out, use angular for the time being" Once 2.0's released we can all just spend the next 6 months rewriting our entire application so it works again!

I disagree with pretty much everything you've said here!

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

#54

Not using client-side scripting

That makes about as much sense as "not using server-side scripting."

Personally, I have had great experiences building purely client-side rendered apps, with DB and other APIs exposed to the client via REST. I now consider HTML generation on the server (with separate rendering logic from the client) to be an antipattern -- done right, the same rendering logic should be usable on the client and server, and can prevent whole classes of bugs and frustration.

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

#55
If you don't mind straying off the beaten track, you should try Nadeshiko. It's available for both Ruby and Go. Be warned that it's still a work-in-progress.

https://github.com/kirillrdy/nadeshiko

https://github.com/kirillrdy/nadeshiko-ruby

https://github.com/kirillrdy/nadeshiko-examples

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

#56

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 just saw a demo of Knockout 3 and it looked much better than the older versions. That said I still like React and think Angular works great too.

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

#57
post #7

Note that the weird direction is not final yet - Angular 2.0 is still a ways off, you don't actually have to use AtScript to build your applications (ES6, ES6 + Traceur annotations, CoffeeScript, Dart, AtScript should all work), and the funky HTML attribute syntax is still under debate because most browsers don't actually support .setAttribute() with bracketed attribute names. Besides, 1.x works and will keep functio…

Thats exactly what you DONT want to do. "hold out, use angular for the time being" Once 2.0's released we can all just spend the next 6 months rewriting our entire application so it works again! I disagree with pretty much everything you've said here!

I think you should look at a timeframe also. If you write an application today in Angular 1.x you could probably contiue to use it for about 18-24 months. It is really hard to know which frameworks will still be maintained in 24 months time and it is not unheard of rewriting the application anyway after that time. As for the actual rewrite from Angular 1.x to 2.x I think Google will create scripts that help with the rewrite making it go much faster than 6 months. They actually have a LOT of internal applications written in Angular 1.x and would probably not want to spend the whole of 2016 rewriting everything.

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

#58
A combo of Backbone.Marionette (composite app architecture) and Backbone.Stickit (data binding) has served me well for the past 2 years. Also, while Marionette is under active development, the core team has a policy of breaking deprecated features out into separate libraries that can be mixed into your existing project if you want to stay current with updates.

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

#59

Not using client-side scripting

You don't have a choice when, let's say, you're building a mobile app for a service whose back-end you don't control.

Of course you have a choice. You can build a new service and place it in front of the other service. For example using Node.js. But I agree that a SPA is often the right way to go.
Post reply on HN