Programming Reactive Extensions and LINQ (Paperback)
暫譯: 編程反應式擴展與LINQ (平裝本)
Jesse Liberty
- 出版商: Apress
- 出版日期: 2011-10-31
- 售價: $1,050
- 貴賓價: 9.8 折 $1,029
- 語言: 英文
- 頁數: 184
- 裝訂: Paperback
- ISBN: 1430237473
- ISBN-13: 9781430237471
無法訂購
買這商品的人也買了...
-
$500$395 -
$880$748 -
$399Akka in Action
-
$1,980$1,881 -
$359$341 -
$1,020$969 -
$2,000$1,900 -
$1,615$1,530 -
$1,575$1,496 -
$403圖解設計模式
-
$650$553 -
$580$452
相關主題
商品描述
Pro Reactive Extensions and LINQ is a deep dive into the next important technology for .NET developers: Reactive Extensions. This in-depth tutorial goes beyond what is available anywhere else to teach how to write WPF, Silverlight, and Windows Phone applications using the Reactive Extensions (Rx) to handle events and asynchronous method calls.
Reactive programming allows you to turn those aspects of your code that are currently imperative into something much more event-driven and flexible. For this reason, it’s sometimes referred to as LINQ for Events.
Reactive programming hinges on the concept of the observable collection, as opposed to the simple enumerable collection with which we’re all familiar. For example, to extract data from a collection and add it to a list box, you would traditionally iterate through the list box, extracting each object in turn. This approach works fine, but it requires significant knowledge about the data you’re working with, which can be limiting. In Rx programming, you're instead informed about each object in turn and then free to react to each notification however you like, which affords much greater flexibility.
This book shows you how reactive programming can be applied to a range of situations—from WPF applications to Windows Phone apps—to improve coding efficiency and boost performance.
What you’ll learn
- How to create, debug and manage reactive extensions in many situations
- The observer pattern and how it can be applied to your projects
- How to avoid spaghetti code by using Rx to manage your asynchronous methods
- How to use SelectMany to explore the heart of the Reactive Extensions
- How to come to grips with the reactive user interface framework for building both small and large applications
Who this book is for
This book will be most beneficial to existing .NET developers with a grounding in WPF, Silverlight and C#, who want to take their skills further using the powerful reactive programming approach.
Table of Contents
- Welcome to LINQ and RX
- Core LINQ
- Core Rx
- Practical Rx
- Inside Rx and LINQ
- LINQ to SQL
- Rx and Javascript
- Reactive UI: Rx and MVVM
- Testing Rx
商品描述(中文翻譯)
《Pro Reactive Extensions and LINQ》是針對 .NET 開發者下一個重要技術:Reactive Extensions 的深入探討。本書的深入教程超越了其他地方的資源,教你如何使用 Reactive Extensions (Rx) 編寫 WPF、Silverlight 和 Windows Phone 應用程式,以處理事件和非同步方法呼叫。
反應式編程允許你將目前以命令式方式編寫的程式碼轉變為更具事件驅動和靈活性的形式。因此,它有時被稱為事件的 LINQ。
反應式編程的核心概念是可觀察集合,與我們熟悉的簡單可列舉集合相對。例如,從集合中提取數據並將其添加到列表框中,傳統上你會遍歷列表框,依次提取每個物件。這種方法運行良好,但需要對你正在處理的數據有相當的了解,這可能會造成限制。在 Rx 編程中,你會依次獲得每個物件的通知,然後可以自由地對每個通知做出反應,這提供了更大的靈活性。
本書展示了反應式編程如何應用於各種情境——從 WPF 應用程式到 Windows Phone 應用程式——以提高編碼效率和增強性能。
你將學到的內容:
- 如何在多種情況下創建、調試和管理反應式擴展
- 觀察者模式及其如何應用於你的專案
- 如何使用 Rx 管理你的非同步方法以避免雜亂的程式碼
- 如何使用 SelectMany 探索 Reactive Extensions 的核心
- 如何掌握反應式用戶介面框架,以構建小型和大型應用程式
本書適合對象:
本書對於已有 WPF、Silverlight 和 C# 基礎的現有 .NET 開發者最為有益,特別是那些希望利用強大的反應式編程方法進一步提升技能的人。
目錄:
1. 歡迎來到 LINQ 和 RX
2. 核心 LINQ
3. 核心 Rx
4. 實用 Rx
5. Rx 和 LINQ 內部
6. LINQ to SQL
7. Rx 和 JavaScript
8. 反應式 UI:Rx 和 MVVM
9. 測試 Rx