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 Observable響應與遠程REST API進行通信
- 創建您的第一個使用RxJava的Android應用程式
詳細內容
RxJava是用於使用可觀察序列在Java虛擬機上編寫異步和基於事件的程序的庫,它將幫助您克服Android平台的限制,創建令人驚艷的Android應用程式。
本書首先提供了Rx .NET庫的一些快速背景信息,然後迅速進入第一個示例。您將了解可觀察對象,並詳細學習如何過濾、轉換或合併它們。接下來,您將學習如何使用Schedulers消除線程、AsyncTask和Handlers,以創建流暢的用戶體驗。通過與具有挑戰性的新示例一起工作,開發一種簡單易用的REST API通信方法,豐富您的技能。
通過閱讀本書,您將探索反應式編程世界,並創建您的第一個Android應用程式,而無需考慮線程、網絡、並發和集合管理。