Live data from Hacker News

Why does Angular.js rock?

angular-tips.com

1–10 of 128 posts

Re: Why does Angular.js rock?

#4
I am just starting up web development and have decided to use Django for backend. However, this Angular vs Ember comparisons have lowered my confidence as I think whatever choice "I" make, will turn out wrong in the long run. Can the experienced people here tell me what I should choose? I am fine with either style of approach to HTML(template vs declarative) and I just want a batteries included framework, which I can use in production, with no severe limitations which may haunt me later.

P.S I am very new to HN and I cant do Ask HN posts :(

Re: Why does Angular.js rock?

#5
Angular is god's gift to programming bloggers. The documentation is so famously patchy, contradictory and impenetrable that an entire cottage industry of talmudic literature has sprung up around it overnight.

I've spent the last two weeks slicing and dicing the developer guide and all the directly related API documentation -- this one-page demo is better than the entire Angular tutorial. It also covers the most important 20% of the Developer Guide.

Based on my current understanding, I'd explain Angular in a different direction. Everyone starts with the binding, introduces a few inbuilt directives, then possibly writes a directive.

I'd start with the $digest() loop, then build out to the runtime loop generally, then explain how link()ing makes the $digest() loop possible via $watch().

There is an enormous amount of Angular that is damn near liable to cause you to scratch your head clear through to your grey matter unless you spend 15 minutes reading the $digest() source code and eyeballing the dev guide in a few places. The docs by themselves simply will not teach you how Angular works, which rather falls short of the purpose of having documentation.

Re: Why does Angular.js rock?

#6
post #2

A good summary, although I found a title a bit misleading - expected some sort of comparison 'why it's better than XYZ'

Hello, I am the author of the post.

I think that there is a lot of comparison out there to create yet another one.

On the other hand, I don't have a deep knowledge of the competence to compare and I don't want to shot myself in the first post :P.

About the title, something can "rock" by its own.

Thank you for the comment :)

Re: Why does Angular.js rock?

#8
post #4

I am just starting up web development and have decided to use Django for backend. However, this Angular vs Ember comparisons have lowered my confidence as I think whatever choice "I" make, will turn out wrong in the long run. Can the experienced people here tell me what I should choose? I am fine with either style of approach to HTML(template vs declarative) and I just want a batteries included framework, which I can…

Django for a backend will work good with any frontend framework (ember.js, angular.js, backbone.js, etc).

I think that none of the actual frontend frameworks will disappoint you. I just showed my opinion in one of them :)

Re: Why does Angular.js rock?

#9
post #4

I am just starting up web development and have decided to use Django for backend. However, this Angular vs Ember comparisons have lowered my confidence as I think whatever choice "I" make, will turn out wrong in the long run. Can the experienced people here tell me what I should choose? I am fine with either style of approach to HTML(template vs declarative) and I just want a batteries included framework, which I can…

whatever choice "I" make, will turn out wrong in the long run

Get used to that feeling if you want to be a web developer. You are in one of the most "churning" areas of software technology. None of today's popular JS frameworks were around even a few years ago, and in a few years time I expect we'll see an entirely new set of popular frameworks.

Forget about the "long run." Pick something with a decently-sized community of users and support. Learn it well enough to do what you want to do. Expect to throw that away and learn something else next year. The era of actually achieving "mastery" of any development tools is long gone, at least in the world of web front-end development.

Post reply on HN