r/programming • • Mar 18 '14

AngularJS 2.0

http://blog.angularjs.org/2014/03/angular-20.html
213 Upvotes

71 comments sorted by

View all comments

5

u/hak8or Mar 18 '14

How does AngularJS compare to EmberJS, both in terms of features but most importantly easy to use?

I would love to learn one of these but would rather use it for a small project with a small learning curve so I can get something out quick, like a single page dashboard. Or, a better question, would it even make sense to use Ember or Angular for a small single page project? At what point does using tools like these start to make sense?

10

u/notkevinc Mar 18 '14

In my opinion, AngularJS has a much shallower learning curve compared to EmberJS.

I tried to make a quick demo with both, and Angular stuck. I'm now using Angular for all of my small projects. I can't speak much to Ember, because I gave up on it, but Angular has been a pleasure to work with.

-7

u/WasteofInk Mar 18 '14

Shallower means that you learn slowly. _/ versus _|. The graph is learning over time.

9

u/ynotna Mar 18 '14

Shallow vs steep: a steep learning curve is a hard one, like going up a steep hill

-1

u/noknockers Mar 18 '14

Well, if knowledge is on the vertical scale and time on the horizontal scale, a steep learning curve would mean you gain a lot of knowledge in a short amount of time, and vice versa.

9

u/ynotna Mar 18 '14

I understand your point, but the normal usage of the phrase is for difficulty

1

u/WasteofInk Mar 20 '14

But it is wrong. That is the point. Just like people saying, "I could care less."

1

u/[deleted] Mar 25 '14

¯_(ツ)_/¯

¯|_(ツ)_|¯

4

u/oldneckbeard Mar 18 '14

I like ember because it's like they took angular, made some opinionated decisions, and then released it. They're different, and there's a ramp-up time. But IMO, apps written in ember by the average dev will be better than apps written in angular by an average dev. The variability is less, the conventions are stronger, and it enforces some good design patterns.

You can still fuck either one up. I think Ember and Angular are going to harmonize in terms of features soon. ES6 is already in Ember's sights, and there are a lot of big companies using it. Angular has the google momentum behind it.

4

u/WebMaster2000 Mar 18 '14

Ember is a full framework, while Angular is a toolset for building a framework. It really depends on what you're trying to do.

I personally enjoy the URL driven approach of Ember, as well as the strong conventions - it helps keep things organized and ensures that everyone is on the same page with regards to design patterns.

With Angular, it's a bit more open. I don't think there is any "one way" to structure your apps, so you can really just do whatever you want.

Different strokes for different folks. I would spend a few hours reading the guides for both and make your choice after.

2

u/nomeme Mar 18 '14

I think Angular has url routing logic too.

6

u/WebMaster2000 Mar 18 '14

It has pretty lightweight support. From what I understand you need to pull in angular-ui-router.js in order to get something even close to Ember's router.