Book description
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.
Table of contents
- Title
- Dedication
- Contents at a Glance
- Contents
- About the Authors
- About the Technical Reviewer
- Acknowledgments
- Foreword
- Introduction
- Chapter 1: Introducing LINQ and Rx
- Chapter 2: Core LINQ
- Chapter 3: Core Rx
- Chapter 4: Practical Rx
- Chapter 5: Inside Rx
- Chapter 6: LINQ to SQL
-
Chapter 7: Reactive Extensions for JavaScript
- Understanding JavaScript and C# Differences
- Using a Browser Console to Explore RxJS
- Jumping into RxJS
- Integrating RxJS with jQuery DOM Events
- Example: Using jQuery DOM Events to Detect a Konami Code
- Adapting JavaScript APIs for RxJS
- Example: Using RxJS with HTML 5 Geolocation and DOM Events
- Using jQuery AJAX with RxJS
- Summary
- Chapter 8: ReactiveUI
- Chapter 9: Testing With Rx
- Index
Product information
- Title: Programming Reactive Extensions and LINQ
- Author(s):
- Release date: October 2011
- Publisher(s): Apress
- ISBN: 9781430237471
You might also like
book
Reactive Programming for .NET Developers
Get up and running with reactive programming paradigms to build fast, concurrent, and powerful applications About …
book
Programming ASP.NET MVC 4
Get up and running with ASP.NET MVC 4, and learn how to build modern server-side web …
book
Essential LINQ
“Charlie and Dinesh bring important skills to this project that enable them to show how LINQ …
book
Programming Microsoft® ASP.NET 3.5
Get the practical, popular reference written by ASP.NET authority Dino Esposito now updated for ASP.NET 3.5. …