Live data from Hacker News

Angular 2 Final Released

angular.io

31–40 of 452 posts

Re: Angular 2 Final Released

#32

I expected angular.io to be a flashy example Angular 2 SPA and was disappointed when I realized it was just a regular old static HTML website. I guess most of the content is more suited for a static site. At least the search bar on the docs page looks like it has some Angular going on. Also it would be neat if the docs had dynamic examples instead of screenshots.

But can it compete with this? https://react-bootstrap.github.io/components.html

I think ultimately ng-bootstrap* (https://ng-bootstrap.github.io/) will be better, but I'm biased. API signature looks much better than shoehorning everything into components that don't belong there - we have a lot of work to go though, so it currently is still a work in progress.

* I am a part of the UI Bootstrap/ng-bootstrap team - we worked on ng-bootstrap starting back in last August/September and have the benefit of two of our team members currently working on the Angular team.

Re: Angular 2 Final Released

#33

Can anyone guide me about writing angularJS apps with Go backend? So far, I have not been able to find a good source to learn it.

FWIW as someone who struggled early on with the "How do i use angular with ?" question.

It's important to IMMEDIATELY understand that the backend should not matter - so long as it returns JSON (or even XML i suppose) which AngularJS 1.x can consume with $http or $resource (or ng 2.x equivalent).

This is an advantageous pattern in my opinion because the front-end angular application is totally decoupled from the backend (we have separate code repos - and even separate developers) - you can keep the backend as Go, or PHP, or Python - or even a static JSON file with something like jsonserver. So long as the JSON is formatted appropriately and API does what angular expects - angular does not care!

Re: Angular 2 Final Released

#34
post #23

I have been using Angular 2 for 3 months now and so far have loved it (except for the breaking changes in RC series and updating each time). Glad 2.0.0 is here. Here are the few things I loved, amongst other interesting features: 1. Typescript awesomeness: You can write plain JS or give type hints in Typescript. Typescript is awesome, because it is a superset of Javascript and compiles to Javascript. (Typescript > ES…

We've been using Angular 2 for about 6 months now. Having things deprecate several times like the routing engine was annoying but that's the cost of being on the cutting edge. The side benefit is that we learned a lot about the inner workings of Angular.

I agree with your annoyance with the UI libaries. It's been a PITA just to find a working datepicker. We eventually rolled our own starting with the source of an abandoned date picker project. Haha.

Re: Angular 2 Final Released

#35

There's more info on future plans here: https://angularjs.blogspot.com.au/2016/09/angular2-final.htm... Specifically: > Bug fixes and non-breaking features for APIs marked as stable > More guides and live examples specific to your use cases > More work on animations > Angular Material 2 > Moving WebWorkers out of experimental > More features and more languages for Angular Universal > Even more speed and payload size…

Ha! I foolishly thought that when ng2 hit RC, it actually meant things would be stable. Keeping up with the ridiculous amount of breaking changes (the router, for example) through the RC versions was a horrible experience.

Hahaha. No shit. Stackoverflow would be like "You are using the wrong router. Use version x." Then someone said "No, version x is deprecated as of last night. Use version z. They skipped y after abandoning that too."

Re: Angular 2 Final Released

#36
post #34
post #23

I have been using Angular 2 for 3 months now and so far have loved it (except for the breaking changes in RC series and updating each time). Glad 2.0.0 is here. Here are the few things I loved, amongst other interesting features: 1. Typescript awesomeness: You can write plain JS or give type hints in Typescript. Typescript is awesome, because it is a superset of Javascript and compiles to Javascript. (Typescript > ES…

We've been using Angular 2 for about 6 months now. Having things deprecate several times like the routing engine was annoying but that's the cost of being on the cutting edge. The side benefit is that we learned a lot about the inner workings of Angular. I agree with your annoyance with the UI libaries. It's been a PITA just to find a working datepicker. We eventually rolled our own starting with the source of an aba…

Just curious if you could speak to any of the performance / development time metrics? I.e. do you spend less time developing a component in ng2 vs. ng 1.x ? Do you get better performance with ng2 vs. 1.x etc?

I know it's supposed to be faster - I just am not finding people using this stuff in production seriously until now.

I don't want to clog up the angular group with these informal lines of questioning - obviously.

Re: Angular 2 Final Released

#37

Can anyone guide me about writing angularJS apps with Go backend? So far, I have not been able to find a good source to learn it.

FWIW as someone who struggled early on with the "How do i use angular with ?" question. It's important to IMMEDIATELY understand that the backend should not matter - so long as it returns JSON (or even XML i suppose) which AngularJS 1.x can consume with $http or $resource (or ng 2.x equivalent). This is an advantageous pattern in my opinion because the front-end angular application is totally decoupled from the backe…

This is great advice! What do you think about routing? angular has it's own router, so can Go have. What to choose?

Re: Angular 2 Final Released

#38
post #34
post #23

I have been using Angular 2 for 3 months now and so far have loved it (except for the breaking changes in RC series and updating each time). Glad 2.0.0 is here. Here are the few things I loved, amongst other interesting features: 1. Typescript awesomeness: You can write plain JS or give type hints in Typescript. Typescript is awesome, because it is a superset of Javascript and compiles to Javascript. (Typescript > ES…

We've been using Angular 2 for about 6 months now. Having things deprecate several times like the routing engine was annoying but that's the cost of being on the cutting edge. The side benefit is that we learned a lot about the inner workings of Angular. I agree with your annoyance with the UI libaries. It's been a PITA just to find a working datepicker. We eventually rolled our own starting with the source of an aba…

There is a working datepicker here: https://ng-bootstrap.github.io/#/components/datepicker

Source code here: https://github.com/ng-bootstrap/ng-bootstrap/tree/master/src...

Be aware, it is not perfect atm, especially around validation, but it is pretty much the only datepicker out there for ng2 in the open source world (not even Angular Material 2 has one).

Re: Angular 2 Final Released

#39
I use Angular 2 in production since November 19, 2015 (alpha.46). Currently I've built 3 web apps (40, 60 and 20 components each), 3 mobile apps (with Ionic 2) and my employer have plans for more apps.

Breaking changes during alpha stage were expected, so I didn't have issues with it.

Most positive things I want to highlight:

1. Components are encapsulated and truly reusable (and without dependencies hell).

2. You don't need any "bridges" anymore to use 3-rd party JS libraries inside your Angular app. Nothing need to be "angularized" - twbs, D3, all just works out of the box. Maybe it's even most important part for me.

3. Idea of `(events)` and `[attributes]` is awesome, works really effective and makes code much more easy to read.

4. Performance is great.

5. Community is friendly and have a lot of fun and patience, even to newbies.

6. TypeScript gives a lot of bonuses with zero price - you don't need to learn anything (you can just rename js to ts and it will work) and additions to JS are simple and powerful.

7. Cool abilities like AOT-compilation, server-side rendering and tree-shaking.

Congrats to the all devs who are using Angular, congrats to the Angular team! :)

Re: Angular 2 Final Released

#40

Can anyone guide me about writing angularJS apps with Go backend? So far, I have not been able to find a good source to learn it.

FWIW as someone who struggled early on with the "How do i use angular with ?" question. It's important to IMMEDIATELY understand that the backend should not matter - so long as it returns JSON (or even XML i suppose) which AngularJS 1.x can consume with $http or $resource (or ng 2.x equivalent). This is an advantageous pattern in my opinion because the front-end angular application is totally decoupled from the backe…

Yeah, the only technology weirdness that I ran into was CORS. Making angular and x technology play nice can be a bit fun sometimes.
Post reply on HN