Learning RxJava, 2nd Edition

0
(0)

Learning RxJava, 2nd Edition
 

  • Author:Nick SamoylovThomas Nield
  • Length: 412 pages
  • Edition: 1
  • Publisher: Packt Publishing
  • Publication Date: 2020-02-28
  • ISBN-10: 1789950155
  • ISBN-13: 9781789950151
  • Sales Rank: #424534 (See Top 100 Books)
  • Download:Register/Login to Download
  • Buy Print:Buy from amazon


    Book Description

    Updated with the latest Maven coordinates, Java programming features, and API changes, this book is your guide to solving problems in writing asynchronous and event-based programs

    Key Features

    • Explore a variety of tools and techniques used to solve problems in implementing concurrency and parallelization
    • Learn about core operators in RxJava that enable you to express your code logic productively
    • Apply RxJava with Kotlin to create responsive Android apps with better user experience

    Book Description

    RxJava is not just a popular library for building asynchronous and event-based applications; it also enables you to create a cleaner and more readable code base. In this book, you’ll cover the core fundamentals of reactive programming and learn how to design and implement reactive libraries and applications.

    Learning RxJava will help you understand how reactive programming works and guide you in writing your first example in reactive code. You’ll get to grips with the workings of Observable and Subscriber, and see how they are used in different contexts using real-world use cases. The book will also take you through multicasting and caching to help prevent redundant work with multiple Observers. You’ll then learn how to create your own RxJava operators by reusing reactive logic. As you advance, you’ll explore effective tools and libraries to test and debug RxJava code. Finally, you’ll delve into RxAndroid extensions and use Kotlin features to streamline your Android apps.

    By the end of this book, you’ll become proficient in writing reactive code in Java and Kotlin to build concurrent applications, including Android applications.

    What you will learn

    • Discover different ways to create Observables, Observers, and Subscribers
    • Multicast in order to push data to multiple destinations and cache and replay them
    • Express RxJava idiomatically with the help of Kotlin features such as extension functions and data classes
    • Become familiar with various operators available in RxJava to perform common transformations and tasks
    • Explore RxJava’s reactive types, including Flowable, Single, Maybe, and Completable
    • Demystify Observables and how they express data and events as sequences

    Who this book is for

    This book is for Java developers who want to leverage reactive programming to develop more resilient and concurrent applications. If you’re an RxJava user looking to get to grips with the latest features and updates in RxJava 3, this book is for you. Fundamental knowledge of core Java features and object-oriented programming will assist you in understanding the key concepts covered in this book.

    Table of Contents

    1. Thinking Reactively
    2. Observable and Observer
    3. Basic Operators
    4. Combining Observables
    5. Multicasting, Replaying, and Caching
    6. Concurrency and Parallelization
    7. Switching, Throttling, Windowing, and Buffering
    8. Flowables and Backpressure
    9. Transformers and Custom Operators
    10. Testing and Debugging
    11. RxJava on Android
    12. Using RxJava for Kotlin
    13. Appendix A: Introducing Lambda Expressions
    14. Appendix B: Functional Types
    15. Appendix C: Mixing Object-Oriented and Reactive Programming
    16. Appendix D: Materializing and Dematerializing
    17. Appendix E: Understanding Schedulers

    中文:

    书名:Learning RxJava, 2nd Edition

    这本书更新了最新的Maven坐标、Java编程功能和API更改,是您在编写异步和基于事件的程序时解决问题的指南

    Key Features

    • 探索用于解决实现并发和并行化问题的各种工具和技术
    • 了解RxJava中使您能够高效地表达代码逻辑的核心运算符
    • Apply RxJava with Kotlin to create responsive Android apps with better user experience

    Book Description

    RxJava不仅是用于构建异步和基于事件的应用程序的受欢迎的库;它还使您能够创建更干净、更具可读性的代码库。在这本书中,你将涵盖反应式编程的核心基础知识,并学习如何设计和实现反应式程序库和应用程序。

    学习RxJava将帮助您了解反应式编程的工作原理,并指导您用反应式代码编写第一个示例。您将了解可观察对象和订阅者的工作原理,并通过实际用例了解如何在不同的上下文中使用它们。这本书还将带领您完成多播和缓存,以帮助避免与多个观察者一起进行冗余工作。然后,您将学习如何通过重用反应逻辑来创建您自己的RxJava操作符。随着学习的深入,您将探索用于测试和调试RxJava代码的有效工具和库。最后,您将深入研究RxAndroid扩展并使用Kotlin功能来简化您的Android应用程序。

    到本书结束时,您将熟练地使用Java和Kotlin编写反应性代码来构建并发应用程序,包括Android应用程序。

    What you will learn

    • 了解创建观察者、观察者和订阅者的不同方法
    • Multicast in order to push data to multiple destinations and cache and replay them
    • 借助扩展函数和数据类等Kotlin功能,惯用地表达RxJava
    • 熟悉RxJava中可用来执行常见转换和任务的各种运算符
    • 探索RxJava的反应类型,包括可流动的、单一的、可能的和可完成的
    • 揭开可观测对象的神秘面纱,以及它们如何将数据和事件表示为序列

    这本书是为谁而写的

    本书面向希望利用反应式编程来开发更具弹性和并发的应用程序的Java开发人员。如果您是RxJava用户,希望掌握RxJava 3中的最新功能和更新,这本书是为您准备的。核心Java特性和面向对象编程的基础知识将帮助您理解本书中涵盖的关键概念。

    Table of Contents

    1. Thinking Reactively
    2. 可观察者和观察者
    3. Basic Operators
    4. 组合观测值
    5. 组播、重放和缓存
    6. 并发性和并行性
    7. 切换、节流、窗口和缓冲
    8. Flowables and Backpressure
    9. 变压器和自定义操作员
    10. 测试和调试
    11. RxJava on Android
    12. 使用RxJava for Kotlin
    13. Appendix A: Introducing Lambda Expressions
    14. 附录B:功能类型
    15. 附录C:混合面向对象和反应式编程
    16. 附录D:物化和非物质化
    17. 附录E:了解调度程序
  • 下载电子版:下载地址
  • 购买纸质版:亚马逊商城

    点击星号评分!

    平均分 0 / 5. 投票数: 0

    还没有投票!请为他投一票。

  • 推荐阅读

    评论 抢沙发

    评论前必须登录!

     

    登录

    找回密码

    注册