- Architecting Angular Applications with Redux,RxJS,and NgRx
- Christoffer Noring
- 151字
- 2021-08-27 19:56:16
Fetching and persisting data with HTTP – introducing services with Observables
So far, we have gone through a data flow where the component is our view to the outside world, but also the controller. The component uses a service to get the data, but also to persist it. The data, however, has up until this point lived in the service and that's not a very likely place for it to reside. Almost certainly, that data should be fetched and persisted to an endpoint. That endpoint is an exposed URL to a backend system published somewhere on the internet. We can use HTTP to reach said endpoint. Angular has created a wrapper on top of the vanilla way of fetching data through HTTP. The wrapper is a class that wraps the functionality of an object called XmlHttpRequest. The Angular wrapper class is called the HttpClient service.
- 廣電5G從入門到精通
- Aptana Studio Beginner's Guide
- 物聯網工程規劃技術
- C++黑客編程揭秘與防范
- 物聯網識別技術
- 物聯網安全與深度學習技術
- OpenLayers Cookbook
- 物聯網信息安全
- Hands-On Full Stack Development with Spring Boot 2 and React(Second Edition)
- 互聯網基礎資源技術與應用發展態勢(2021—2023)
- 網絡安全技術與解決方案(修訂版)
- 計算機網絡工程實用教程(第2版)
- 電力物聯網工程技術原理與應用
- Windows Server 2012 Hyper-V虛擬化管理實踐
- 網管工具使用與技巧大全