EP 11.4 - Angular / HTTP / HTTP with Observables
? Read the book ? https://go.asim.dev/angular-book
? Level up your JavaScript ? https://go.asim.dev/advjs
? If you find my videos useful please consider planting a tree for me ? https://go.asim.dev/trees
? Watch the full playlist ? https://go.asim.dev/angular-playlist
The best place to view the code associated with this course is in the online book (https://go.asim.dev/angular-book) via the book if a lecture has code associated with it, it then also has a link to a stackblitz instance so you can run and edit the code sample online.
In this lecture, we’ve covered, in depth, how to use observables when making HTTP requests.
The goal of this lecture was to show you how you can evolve your application from one that uses just a little bit of observables to one that uses a lot more.
Hopefully, you now have a much better idea of how to architect your application using observables.
We could go even further, for instance, the loading property could be it’s own observable, how far and how deep to go is up to you. Depending on how comfortable you feel with Observables and how well they match to your use case.
They can be really powerful but at other times they can be a big hindrance with little benefit. In Angular you can use as much or as little reactive programming as you want, it doesn’t prescribe one way or the other.
So far we’ve not dealt with the issue of CORS and we cheated in creating these apps by installing a plugin to chrome which circumnavigates CORS security issues.
In the next lecture, we’ll cover how to use JSONP to solve CORS issues, if the API supports JSONP, and how to implement JSONP requests in Angular.
Что делает видео по-настоящему запоминающимся? Наверное, та самая атмосфера, которая заставляет забыть о времени. Когда вы заходите на RUVIDEO, чтобы посмотреть онлайн «EP 11.4 - Angular / HTTP / HTTP with Observables», вы рассчитываете на нечто большее, чем просто загрузку плеера. И мы это понимаем. Контент такого уровня заслуживает того, чтобы его смотрели в HD 1080, без дрожания картинки и бесконечного буферизации.
Честно говоря, Rutube сегодня — это кладезь уникальных находок, которые часто теряются в общем шуме. Мы же вытаскиваем на поверхность самое интересное. Будь то динамичный экшн, глубокий разбор темы от любимого автора или просто уютное видео для настроения — всё это доступно здесь бесплатно и без лишних формальностей. Никаких «заполните анкету, чтобы продолжить». Только вы, ваш экран и качественный поток.
Если вас зацепило это видео, не забудьте взглянуть на похожие материалы в блоке справа. Мы откалибровали наши алгоритмы так, чтобы они подбирали контент не просто «по тегам», а по настроению и смыслу. Ведь в конечном итоге, онлайн-кинотеатр — это не склад файлов, а место, где каждый вечер можно найти свою историю. Приятного вам отдыха на RUVIDEO!
Видео взято из открытых источников Rutube. Если вы правообладатель, обратитесь к первоисточнику.