RxJava Essentials
暫譯: RxJava 基礎精要

Ivan Morgillo

  • 出版商: Packt Publishing
  • 出版日期: 2015-05-30
  • 定價: $990
  • 售價: 6.0$594
  • 語言: 英文
  • 頁數: 132
  • 裝訂: Paperback
  • ISBN: 1784399108
  • ISBN-13: 9781784399108
  • 相關分類: Java 程式語言
  • 立即出貨 (庫存=1)

買這商品的人也買了...

相關主題

商品描述

Learn reactive programming to create awesome Android and Java apps

About This Book

  • Create interactive Android apps with Java Reactive Extensions
  • Learn Reactive Programming through real-life examples that you can use in your Android app
  • Beat Android concurrency and threading issues to take your apps to a new level

Who This Book Is For

If you are an experienced Java developer, reactive programming will give you a new way to approach scalability and concurrency in your backend systems, without forcing you to switch programming languages.

What You Will Learn

  • Master the Observer pattern and create Observable objects and sequences
  • Convert lists of objects to Observable sequences
  • Change existing methods to reactive asynchronous functions
  • Filter Observable sequences to ensure that only the value you want will reach your functions
  • Transform and manipulate Observable sequences into new sequences
  • Combine, merge, and concatenate Observable sequences to create new sequences
  • Move away from the Android main thread and AsyncTask to learn multithreading and concurrency the easy way with Schedulers
  • Communicate with a remote REST API using Retrofit Observable responses
  • Create your first RxJava-powered Android app

In Detail

RxJava―Reactive Extensions for the JVM―is a library for composing asynchronous and event-based programs using Observable sequences for the Java VM, which will help you beat Android platform limitations to create astonishing Android apps.

Starting with some quick background information on the Rx .NET library, this book quickly moves on to your first example. You will understand Observables and learn to filter, transform, or merge them in detail. Next, you will learn how to get rid of Threads, AsyncTasks, and Handlers with Schedulers to create a smooth user experience. Develop an easy, ready-to-go approach to REST API communications and enrich your skills by working with new challenging examples.

By the end of the book, you will have explored the reactive programming world and will have created your first Android app without having to think about threading, networking, concurrency, and collection management.

商品描述(中文翻譯)

學習反應式編程以創建出色的 Android 和 Java 應用程式

本書介紹



  • 使用 Java Reactive Extensions 創建互動式 Android 應用程式

  • 通過實際範例學習反應式編程,這些範例可用於您的 Android 應用程式

  • 解決 Android 的併發和執行緒問題,將您的應用程式提升到新水平

本書適合誰


如果您是一位經驗豐富的 Java 開發者,反應式編程將為您提供一種新的方法來處理後端系統的可擴展性和併發性,而無需強迫您切換編程語言。

您將學到什麼



  • 掌握觀察者模式,創建可觀察對象和序列

  • 將對象列表轉換為可觀察序列

  • 將現有方法更改為反應式異步函數

  • 過濾可觀察序列,以確保只有您想要的值能到達您的函數

  • 轉換和操作可觀察序列以生成新序列

  • 結合、合併和串接可觀察序列以創建新序列

  • 擺脫 Android 主執行緒和 AsyncTask,使用 Schedulers 輕鬆學習多執行緒和併發

  • 使用 Retrofit 的可觀察響應與遠端 REST API 進行通信

  • 創建您的第一個基於 RxJava 的 Android 應用程式

詳細內容


RxJava——JVM 的反應式擴展——是一個用於組合異步和基於事件的程序的庫,使用可觀察序列針對 Java VM,這將幫助您克服 Android 平台的限制,創建驚人的 Android 應用程式。


本書從一些關於 Rx .NET 庫的快速背景信息開始,然後迅速進入您的第一個範例。您將理解可觀察對象,並詳細學習如何過濾、轉換或合併它們。接下來,您將學習如何使用 Schedulers 擺脫執行緒、AsyncTasks 和 Handlers,以創建流暢的用戶體驗。開發一種簡單、隨時可用的 REST API 通信方法,並通過處理新的挑戰性範例來豐富您的技能。


到本書結束時,您將探索反應式編程的世界,並創建您的第一個 Android 應用程式,而無需考慮執行緒、網絡、併發和集合管理。