CARVIEW |
About This Title
Pages: 144
Published: February 2018
ISBN: 9781680502473
In Print

Reactive Programming with RxJS 5
Untangle Your Asynchronous JavaScript Code
by Sergi Mansilla
Reactive programming is revolutionary. It makes asynchronous programming clean, intuitive, and robust. Use RxJS 5 to write complex programs in a simple way, and master the Observable: a powerful data type that substitutes callbacks and promises. Think about your programs as streams of data that change and adapt to produce what you want. Manage real-world concurrency and write complex flows of events in your applications with ease. Take advantage of Schedulers to make asynchronous testing easier. The code in this new edition is completely updated for RxJS 5 and ES6.
eBook Formats:
PDF for desktop/tablets
epub for Apple Books, e-readers
mobi for Kindle readers
Get all eBook formats here for $18.95 (USD)
Paperback Formats:
Order via Bookshop (U.S. Only)
Please support indie bookstores!
Find indie bookstores in the U.S. Find indie bookstores around the world.
Create concurrent applications with ease using RxJS 5, a powerful event composition library. Real-world JavaScript applications require you to master asynchronous programming, and chances are that you’ll spend more time coordinating asynchronous events than writing actual functionality. This book introduces concepts and tools that will greatly simplify the process of writing asynchronous programs.
Find out about Observables, a unifying data type that simplifies concurrent code and eases the pain of callbacks. Learn how Schedulers change the concept of time itself, making asynchronous testing sane again. Find real-world examples for the browser and Node.js along the way: how about a real-time earthquake visualization in 20 lines of code, or a frantic shoot-’em-up space videogame? You’ll also use Cycle.js—a modern, reactive, web framework—to make a new breed of web applications.
By the end of the book, you’ll know how to think in a reactive way, and how to use RxJS 5 to build complex programs and create amazing reactive user interfaces. You’ll also understand how to integrate it with your existing projects and use it with the frameworks you already know. All the code in this new edition has been thoroughly revised and updated for RxJS 5, ES6, and Cycle.js Unified.
What You Need
NodeJS 6.x and a modern web browserResources
Releases:
- P1.0 2018/02/03
- B4.0 2018/01/22
- B3.0 2017/12/05
- B2.0 2017/11/22
Contents & Extracts
- Acknowledgments
- Preface
- New World, Old Methods
- What Is Reactive Programming?
- What Is RxJS?
- Who This Book Is For
- What’s in This Book
- Running the Code Examples
- Resources
- Download Sample Code
- The Reactive Way
excerpt
- What’s Reactive?
- Observers and Iterators
- The Rx Pattern and the Observable
- Creating Observables
- Wrapping Up
- Deep in the Sequence
- Visualizing Observables
- Basic Sequence Operators
- Canceling Sequences
- Handling Errors
- Making a Real-Time Earthquake Visualizer
- Ideas for Improvements
- Operator Rundown
- Wrapping Up
- Building Concurrent Programs
- Purity and the Observable Pipeline
- RxJS’s Subject Class
excerpt
- Spaceship Reactive!
- Ideas for Improvements
- Wrapping Up
- Building a Complete Web Application
- Building a Real-Time Earthquake Dashboard
- Adding a List of Earthquakes
- Getting Real-Time Updates from Twitter
- Ideas for Improvements
- Wrapping Up
- Bending Time with Schedulers
excerpt
- Using Schedulers
- Scheduling for Animations
- Testing with Schedulers
- Wrapping Up
- Reactive Web Applications with Cycle.js
- Cycle.js
- Installing Cycle.js
- Our Project: Wikipedia Search
- Model-View-Intent
- Creating Reusable Widgets
- Ideas for Improvements
- Wrapping Up
Author
Sergi Mansilla is a professional developer with more than 15 years of experience who believes that software is a force for good. Lately he’s been focusing on mobile systems programming, IoT, and using technology to make the world a better place. Sergi speaks at conferences all around the world, and lives in Barcelona with his lovely family.eBook Formats:
PDF for desktop/tablets
epub for Apple Books, e-readers
mobi for Kindle readers
Get all eBook formats here for $18.95 (USD)
Paperback Formats:
Order via Bookshop (U.S. Only)
Please support indie bookstores!
Find indie bookstores in the U.S. Find indie bookstores around the world.
Releases, Offers & More
Be the first to hear about our newest content, best promotions and upcoming events. Plus get 25% off your next purchase.
Related categories:
Related Titles:

About This Title
Pages: 144
Published: February 2018
ISBN: 9781680502473
Edition: 1
In Print