Chapter Appendix. Reusing RxPHP Techniques in RxJS
Throughout this entire book, we've mentioned very often that certain functionality (such as operators or certain Observables) work differently in RxPHP and RxJS. Some operators from RxJS aren't even available in RxPHP yet. There're also features of RxJS that aren't even possible to make in RxPHP because of the nature of PHP interpreter.
We've referred to RxJS a lot even though Reactive Extensions were first developed for .NET as Rx.NET.
In this chapter, we're going to focus on the differences between current RxPHP and RxJS. Also, the knowledge of RxJS is very useful today because its popularity is still rising thanks to JavaScript frameworks such as Angular 2 that heavily rely on RxJS.
Topics covered in this chapter are going to be a little unusual because these will combine PHP and JavaScript (ECMAScript 6 - ES6, in particular):
- We'll see what RxJS is, and we'll talk about where it stands...