Reactive Programming in Kotlin

Rivu Chakraborty

  • 出版商: Packt Publishing
  • 出版日期: 2017-12-07
  • 售價: $1,920
  • 貴賓價: 9.5$1,824
  • 語言: 英文
  • 頁數: 322
  • 裝訂: Paperback
  • ISBN: 1788473027
  • ISBN-13: 9781788473026
  • 相關分類: JVM 語言
  • 海外代購書籍(需單獨結帳)
    無現貨庫存(No stock available)



Key Features

  • Learn how to solve blocking user experience with Reactive Programming and get deep insight of RxKotlin
  • Integrate Reactive Kotlin with Spring and build fantastic Android Apps with RxKotlin and RxAndroid
  • Build reactive architecture that reduces complexity throughout the development process

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 then be introduced to functional reactive programming and will learn to apply FRP in practical use cases in Kotlin. You will learn to create dataflow-based systems that are building blocks of reactive programming. You will gain deep insight into the RxKotlin library that facilitates reactive programming. 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 upskill to scale applications using multi-node clusters and will learn to unit-test your clusters. This book will also take you one step forward by introducing you to reactive microservices using spring 5 functional web framework and spring boot 2 using Kotlin.By the end of the book, you will be able to make the best of both approaches 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

  • Using spring framework 5.0 with kotlin
  • Using reactor kotlin extension
  • Building Rest APIs with Sping, Hibernate and RxKotlin
  • Using testSubscriber to test RxKotlin application



  • 學習如何使用反應式編程解決阻塞用戶體驗的問題,並深入了解 RxKotlin

  • 將反應式 Kotlin 整合到 Spring 中,並使用 RxKotlin 和 RxAndroid 建立出色的 Android 應用程式

  • 建立減少開發過程中複雜性的反應式架構


在今天的應用程式驅動時代,當程式是非同步的且反應速度至關重要時,反應式編程可以幫助您撰寫更可靠、更易擴展且效能更好的程式碼。反應式編程是一個革命性的概念。透過這本實用的書籍,Kotlin 開發人員將首先學習以反應式方式看待問題,然後建立利用這個令人興奮的新編程範式最佳特性的程式。您將從反應式編程的一般概念開始,然後逐漸轉向處理非同步資料流。接著,您將介紹函數式反應式編程,並學習在 Kotlin 中應用 FRP 的實際使用案例。您將學習建立資料流程系統,這是反應式編程的基礎模塊。您將深入了解促進反應式編程的 RxKotlin 函式庫。您將深入研究高級技術,例如在資料流程中操作時間、自定義運算子和提供者,以及如何使用並發模型有效地控制程式碼的非同步性和處理事件處理程序。您將進一步提升技能,使用多節點叢集來擴展應用程式,並學習如何對叢集進行單元測試。本書還將介紹使用 Kotlin、Spring 5 函數式 Web 框架和 Spring Boot 2 開發反應式微服務。通過本書,您將能夠充分利用這兩種方法,建立具有反應式使用者介面的實際應用程式,同時學習在 Android 中實現反應式編程範式。


  • 使用 Kotlin 和 Spring Framework 5.0

  • 使用 Reactor Kotlin 擴展

  • 使用 Sping、Hibernate 和 RxKotlin 建立 REST API

  • 使用 testSubscriber 測試 RxKotlin 應用程式