Mastering Reactive JavaScript by Erich de Souza Oliveira
(price excluding 0% GST)
Author:
Erich de Souza Oliveira
Category:
Engineering & IT
ISBN:
9781786463463
Publisher:
Packt Publishing
File Size:
5.24 MB
(price excluding 0% GST)
Synopsis
Key FeaturesHandle an infinite stream of incoming data using RxJs without going crazyExplore important RxJs operators that can help you improve your code readabilityGet acquainted with the different techniques and operators used to handle data traffic, which occurs when you receive data faster than you can processBook DescriptionIf youre struggling to handle a large amount of data and dont know how to improve your code readability, then reactive programming is the right solution for you. It lets you describe how your code behaves when changes happen and makes it easier to deal with real-time data. This book will teach you what reactive programming is, and how you can use it to write better applications.The book starts with the basics of reactive programming, what Reactive Extensions is, and how can you use it in JavaScript along with some reactive code using Bacon. Next, youll discover what an Observable and an Observer are and when to use them.Youll also find out how you can query data through operators, and how to use schedulers to react to changes.Moving on, youll explore the RxJs API, be introduced to the problem of data traffic (backpressure), and see how you can mitigate it. Youll also learn about other important operators that can help improve your code readability, and youll see how to use transducers to compose operators.At the end of the book, youll get hands-on experience of using RxJs, and will create a real-time web chat using RxJs on the client and server, providing you with the complete package to master RxJs.What you will learnGet to know the basics of functional reactive programming using RxJsProcess a continuous flow of data with linear memory consumptionFilter, group, and react to changes in your systemDiscover how to deal with data trafficCompose operators to create new operators and use them in multiple observables to avoid code repetitionExplore transducers and see how they can improve your code readabilityDetect and recover from errors in observables using Retry and Catch operatorsCreate your own reactive application: a real-time webchatAbout the AuthorErich de Souza Oliveira is a developer with 10 years of experience, mostly in JavaScript, Scala, and Java. He has already worked for big companies and start-ups and currently works as a Chief Technology Officer for a brazilian video platform, called Winnin.He is the author of Studio.js (microservices library for JavaScript) and can be found talking and attending South American conferences. He has a special interest in functional reactive programming, micro services, information retrieval, and recommender systems.Twitter: @oliveira_erichGithub: @ericholiveiraSite: www.ericholiveira.commedium.com/@ericholiveiraTable of ContentsWhat Does Being Reactive Mean?Reacting for the First TimeA World Full of Change - Reactive Extenstions to the RescueTransforming Data - Map, Filter, and ReduceThe World Changes Too Fast - Operators to Deal with BackpressureToo Much Sources? - Combining ObservablesSomething is wrong - Testing and Dealing with errorsMore about OperatorsCompositionA Real-Time ServerA Real-Time Client
Reviews
Be the first to review this e-book.
Write your review
Wanna review this e-book? Please Sign in to start your review.