© Oren Farhi 2017

Oren Farhi, Reactive Programming with Angular and ngrx, 10.1007/978-1-4842-2620-9_5

5. Understanding Services with Reactive Programming

Oren Farhi

(1)Lod, Israel

Services are an important building block of any application. Usually, services are the entry point to retrieving data from some kind of provider as well as to updating it, when this option is available.

Services allow the application to interact with remote services in order to perform operations. These operations are usually composed of one or more statements, after which they actually initiate a request out of the application’s sandbox.

With ngrx/store included in our application, services play a major role and should be constructed in such a way that it would be easy ...

Get Reactive Programming with Angular and ngrx: Learn to Harness the Power of Reactive Programming with RxJS and ngrx Extensions now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.