Live data from Hacker News

Angular 2 Fundamentals Course

courses.angularclass.com

1–10 of 120 posts

Re: Angular 2 Fundamentals Course

#2
I've been reading Switching to Angular 2. Are collections still propagated via EventEmitter? Seems like the implementation is bleeding into the user code.

I maintain Angular continues to be a bad reimplementation of JSF except mostly on the client side.

Re: Angular 2 Fundamentals Course

#6
Interesting coincidence. This week I've been tasked with looking into a JavaScript framework to replace our pure-Clojure stack at work.

One of the front-end candidates is Angular. But we're considering cutting it from the race.

The three main things we're looking for in a front-end framework:

1. Longevity: we don't want to adopt yet another fad framework that we'll have to replace in 2017. The current trend looks to be moving towards React-style FRP, and Angular seems to be catching up in version 2, but nobody seems to be using that yet, which means nobody will start using it. It looks like another Python 3 problem to me. I don't see Angular lasting long.

2. Flexibility: we want to quickly be able to change what pages we have and what's on them, without needing to tear down and rewrite the entire front-end. If Angular is only just now beginning to adopt React-like patterns, how can I be assured that it got them right, and that I won't run into rigidity issues 2 weeks into writing Angular code?

3. Convention over configuration: our data will live in MongoDB, so all our models are straightforward JSON. I'm hoping to find a stack that assumes this and doesn't require me to write tons of boilerplate that should be assumed for me by my frameworks. I'm not sure how Angular fares in this, but so far none of the candidates really shine in this area.

For the record, we're currently looking into Sails + Ember + Mongo. But we're not super excited about this since it still doesn't look like it'll hit all three of our needs really well. I'm particularly concerned that Ember is going to have the same issues as Angular, especially if the community is looking to regularize tools around React.

Re: Angular 2 Fundamentals Course

#8

I've been reading Switching to Angular 2. Are collections still propagated via EventEmitter ? Seems like the implementation is bleeding into the user code. I maintain Angular continues to be a bad reimplementation of JSF except mostly on the client side.

Not sure what you mean by collections, but the EventEmitter is just an alias for a Subscriber in RxJS. So it's an observable.

Re: Angular 2 Fundamentals Course

#9
post #3

I heard angular is a framework and react is lib. angular 2 or react. Coming from nodejs, python, php, jquery experience which should I learn?

Angular is a more full featured than React by itself. To get React to equivalent features you have to add on (and learn) several other things (Redux, WebPack, etc, etc). As a bonus, there are lots of different conflicting flavors-of-the-week for things to use with React to build out your stack, so whichever you pick to go with React might not be cool next week.
Post reply on HN