Angular 2 Tutorial [7] - HTTP and Observables

preview_player
Показать описание

In this video we will fetch data from an API using a service and return an observable for asynchronous data
Рекомендации по теме
Комментарии
Автор

I like the amount of information covered, the pace and length of videos.

haciendadad
Автор

Nice videos. Clear indication of what's going on. I was hoping you'd do a video of a similar topic with rails regarding api.

luissantiago
Автор

waiting for the rest of the videos, great tutorials

amrayoub
Автор

Nice article Brad,

I was looking for some explained, detailed, tutorial which explains every step of HTTP request in Angular 2 and couldn't find anything like that. I want to know why should I pass HTTP_PROVIDES in appcomponent. What observable class do? Why subscribe method is required? It would be a great help for new-comers if we can have more detailed tutorial.

ravindertawni
Автор

Hi, thank you for putting in the time to create this video. Could you point me to a resource that explains what it means to have and not have the curly brace in the import statements at the top of the class file?

fluxquantumbeta
Автор

Are your videos using typescript or they are non typescript based? I really dont like there is not much of non typescript content on the internet regarding angular2(I have already gone through the quick start guide but I need more in depth tutorial)

saurabhinorange
Автор

Suppose i have done all this, and my lists shows on webpage. Now i go to the file where the api is and change the string manually, will that change be reflected on webpage?

bhawin
Автор

I don't understand import without the from clause. Could you explain?

kafoly
Автор

I have seen this in many tutorials including this one. Since the "getPosts()" function and similar actually return an Observable and not the actual results, they should not be functions and should not be called "get...". Instead they should be readonly properties and should be nouns like "posts$" and "users$" etc. Hope it makes sense. Naming functions like "getPosts" is very misleading to newbies because they are not actually getting arrays of posts.

leo
Автор

Great video, but there are a lot of concepts that could use more explanation, like:
• why are the "rxjs/observable", "rxjs/Rx" and map operator imported with different syntax?
• how does the "?" in "id?: number" work?
• why do modules need to be injected with this syntax: ""private: _http: Http"?

Thanks!

jdstein
Автор

What RxJS version you're using in this tutorial?

juliamihet
Автор

i am new to angular 2+. one thing that seems to be ugly with angular 2+ is declaring what to import for each module. there are so many things to import. i can see that grasping knowledge of what to import will be quite a challenge. can someone explain to me an easier way to declaring imports?

spicytuna
Автор

not working for me as there's a lot of difference in the newer version of angular

rohanshenoy
Автор

Awesome video.It really helped me, Thanks

Makeovertime.
Автор

Hi, thanks for the tutorials! Do you have a plunkr page or something for this project?

stratr
Автор

I have received No 'Access-Control-Allow-Origin' header is present on the requested resource, how to resolve it ? Thanks

EpicDotaMoments
Автор

nice job!
by the way, what is your IDE? it's nice!

VaheedSadeghi
Автор

Can I use jQuery promises instead of observable?

nikolay.kupstas
welcome to shbcf.ru