Table of Contents

 

Copyright

Brief Table of Contents

Table of Contents

Foreword

Preface

Acknowledgments

About this Book

About the Authors

About the Cover

1. Understanding streams

Chapter 1. Thinking reactively

1.1. Synchronous vs. asynchronous computing

1.1.1. Issues with blocking code

1.1.2. Non-blocking code with callback functions

1.1.3. Understanding time and space

1.1.4. Are callbacks out of the picture?

1.1.5. Event emitters

1.2. Better callbacks with Promises

1.3. The need for a different paradigm

1.4. The Reactive Extensions for JavaScript

1.4.1. Thinking in streams: data flows and propagation

1.4.2. Introducing the RxJS project

1.4.3. Everything is a stream

1.4.4. Abstracting the notion of time from your programs

1.4.5. Components of an Rx stream

1.5. Reactive and other programming paradigms

1.6. Summary

Chapter 2. Reacting with RxJS

2.1. Functional programming as the pillar of reactive programming

2.1.1. Functional programming

2.1.2. The iterator pattern

2.2. Stream’s data-driven approach

2.3. Wrapping data sources with Rx.Observable

2.3.1. Identifying different sources of data

2.3.2. Creating RxJS observables

2.3.3. When and where to use RxJS