Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

RxJS in Action: use cases?  RSS feed

 
Jose Samonte
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So what are the use cases for using RxJS? Or what are examples of existing applications that can be improved using RxJS?
 
Luis Atencio
Author
Greenhorn
Posts: 5
5
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Good question. RxJS is ideal for the type of tasks where you can need to query or mashup multiple remote sources of information together. You create streams out each of these sources and then you can easily intermix them and compose those streams to achieve your result (and that's like 95% of web programming). My use case, in particular, I develop a cloud service that requires the interaction of at least 5 different APIs, a datatabase, and the command line of the server. Each of these sources I model as a stream. Once everything is a stream (a core theme in the book btw), then you can easily create business logic that combines it all.

Kind of biased, but I highly recommend RxJS.

Thanks!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!