Librería Portfolio Librería Portfolio

Búsqueda avanzada

TIENE EN SU CESTA DE LA COMPRA

0 productos

en total 0,00 €

REACTIVE PROGRAMMING WITH RXJS. UNTANGLE YOUR ASYNCHRONOUS JAVASCRIPT CODE
Título:
REACTIVE PROGRAMMING WITH RXJS. UNTANGLE YOUR ASYNCHRONOUS JAVASCRIPT CODE
Subtítulo:
Autor:
MANSILLA, S
Editorial:
PRAGMATIC
Año de edición:
2016
Materia
PROGRAMACION INTERNET
ISBN:
978-1-68050-129-2
Páginas:
142
17,50 €

 

Sinopsis

Reactive programming is revolutionary. It makes asynchronous programming clean, intuitive, and robust. Use the RxJS library to write complex programs in a simple way, unifying asynchronous mechanisms such as callbacks and promises into a powerful data type: the Observable. Learn to think about your programs as streams of data that you can transform by expressing what should happen, instead of having to painstakingly program how it should happen. Manage real-world concurrency and write complex flows of events in your applications with ease.



Create highly concurrent applications while writing simpler code using the Reactive Extensions for JavaScript (RxJS), a set of libraries for event composition. Programming real-world applications in JavaScript involves lots of asynchronous events-you might end up spending more time coordinating asynchronous code in your program than writing its actual functionality. This book introduces concepts and tools from reactive programming that will help you write cleaner and more robust asynchronous programs.

Find out about Observable sequences, a unifying data type to write highly concurrent code. Discover Schedulers and change the concept of time in your applications, making asynchronous testing sane again. Along the way you'll see real-world examples for the browser and Node.js, including a real-time earthquake visualization in 20 lines of code and a frantic shoot-'em-up space videogame. You'll also use Cycle.js - a modern, fully reactive web framework - to make a whole new breed of web applications.

By the end of the book, you'll know how to apply reactive programming to solve complex problems, build efficient programs with reactive user interfaces, and write your code more declaratively.



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?
Of 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