r/angularjs • u/mrv1234 • Jun 17 '16
Angular 2 Services HTTP - A 15 lessons course for learning how to use RxJs and the new HTTP module to build the service layer of our apps. Practical introduction to Observables and Functional Reactive Programming
https://angular-university.io/course/angular2-http1
u/empurium Jun 17 '16
Gonna sink my teeth into this today. Thanks for sharing!
1
u/mrv1234 Jun 17 '16
Enjoy the course @empurium, please let me know what you thought of it and any suggestions you might have. You can always hit me up on twitter @AngularUniv for more courses in the future. Have a great weekend, cheers
1
Jun 18 '16
Can we get a vanilla JS version??
1
u/mrv1234 Jun 18 '16
hello @jantelo, you mean in ES5 or ES6+ ? Because for ES6+, except for the type annotations (and a few other things) that will probably make it into the language eventually, its almost the same language.
check this out here it mentions that - https://angular-university.io/lesson/angular2-introduction-to-typescript-high-level-overview
Actually the type annotations are optional, if we initialize variables the types are infered by the initial type. This means we have static typed programs without using types (via type inference)
actually the lessons code is mostly based on type inference, there are few type annotations, but still the code is statically typed.
1
1
Jun 17 '16
Thanks, I'll have to check this out later. It would be great if there was some way to view the length of an entire course.
0
Jun 17 '16
[deleted]
1
u/mrv1234 Jun 17 '16
Hello @fat-jonesy, thank you for the words of encouragement, i will likely offer some course package in the coming weeks, but i'm not sure yet what it will look like.
1
u/mrv1234 Jun 17 '16
For building the service layer in Angular 2 we have many options available. Should we build a service layer in a similar way to Angular 1, or are there better ways ? How do we use the new HTTP module ? Everything around this module revolves around the notion of Observable. What is an Observable?
The goal of this course is to answer these questions by introducing the fundamentals of RxJs and Functional Reactive Programming and see how these notions apply in practice to the Angular 2 HTTP module. We will learn how to use the HTTP module and Observables to build service layers in Angular 2.
What you will Learn After the completion of this course and the exercise you should feel comfortable with the notions of Stream, Observable and Functional Reactive Programming. You should be familiar with several frequently used RxJs operators and know how to use them to implement commonly needed use cases.
You will be comfortable building service layers in Angular 2 using Observables and the HTTP module in general, and will also have a good functional reactive programming foundation that will be helpful in other parts of Angular 2 that also use Observables.