Reactive Programming in Kotlin: Design and build non-blocking, asynchronous Kotlin applications with RXKotlin, Reactor-Kotlin, Android, and Spring

Learn how to implement Reactive Programming paradigms with Kotlin, and apply them to web programming with Spring Framework 5.0 and in Android Application Development.

Key Features

  • Learn how to solve blocking user experience with Reactive Programming and get deep insights into RxKotlin
  • Integrate Reactive Kotlin with Spring and build fantastic Android Apps with RxKotlin and RxAndroid
  • Build reactive architectures that reduce complexity throughout the development process and make your apps(web and Android) scalable

Book Description

In today’s app-driven era, when programs are asynchronous, and responsiveness is so vital, reactive programming can help you write code that’s more reliable, easier to scale, and better-performing. Reactive programming is revolutionary.

With this practical book, Kotlin developers will first learn how to view problems in the reactive way, and then build programs that leverage the best features of this exciting new programming paradigm. You will begin with the general concepts of Reactive programming and then gradually move on to working with asynchronous data streams. You will dive into advanced techniques such as manipulating time in data-flow, customizing operators and provider and how to Use the concurrency model to control asynchronicity of code and process event handlers effectively.

You will then be introduced to functional reactive programming and will learn to apply FRP in practical use cases in Kotlin. This book will also take you one step forward by introducing you to spring 5 and spring boot 2 using Kotlin. By the end of the book, you will be able to build real-world applications with reactive user interfaces as well as you’ll learn to implement reactive programming paradigms in Android.

What you will learn

  • Learn about reactive programming paradigms and how reactive programming can improve your existing projects
  • Gain in-depth knowledge in RxKotlin 2.0 and the ReactiveX Framework
  • Use RxKotlin with Android
  • Create your own custom operators in RxKotlin
  • Use Spring Framework 5.0 with Kotlin
  • Use the reactor-kotlin extension
  • Build Rest APIs with Spring,Hibernate, and RxKotlin
  • Use testSubscriber to test RxKotlin applications
  • Use backpressure management and Flowables

Who This Book Is For

This book is for Kotlin developers who would like to build fault-tolerant, scalable, and distributed systems. A basic knowledge of Kotlin is required, but no prior knowledge of reactive programming.

Table of Contents

  1. A Short Introduction to Reactive Programming
  2. Functional Programming with Kotlin and RxKotlin
  3. Observables, Observers, and Subjects
  4. Introduction Backpressure and Flowables
  5. Asynchronous Data Operators and Transformations
  6. More on Operators and Error Handling
  7. Concurrency and Parallel Processing in RxKotlin with Schedulers
  8. Testing RxKotlin Application
  9. Resource Management and Extending RxKotlin
  10. Introduction to Web Programming with Spring for Kotlin Developers
  11. REST API with Spring JPA and Hibernate
  12. Reactive Kotlin and Android

Book details

  • Publisher:Packt Publishing - ebooks Account
  • Publication date:December 5, 2017
  • ISBN-10:1788473027
  • ISBN-13:978-1788473026
  • Pages:322 pages
  • Format:pdf
  • Size:10.10Mb
Get Download Link

Leave a Reply

Your email address will not be published. Required fields are marked *