×

Uh-oh, it looks like your Internet Explorer is out of date.

For a better shopping experience, please upgrade now.

Programming Reactive Extensions and LINQ
     

Programming Reactive Extensions and LINQ

3.0 2
by Jesse Liberty, Paul Betts
 

See All Formats & Editions

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.

Overview

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

  1. Welcome to LINQ and RX
  2. Core LINQ
  3. Core Rx
  4. Practical Rx
  5. Inside Rx and LINQ
  6. LINQ to SQL
  7. Rx and Javascript
  8. Reactive UI: Rx and MVVM
  9. Testing Rx

Product Details

ISBN-13:
9781430237471
Publisher:
Apress
Publication date:
10/25/2011
Edition description:
2011
Pages:
184
Product dimensions:
7.40(w) x 9.20(h) x 0.50(d)

Related Subjects

Meet the Author

Jesse Liberty is a Master Consultant for Falafel Software, a
Microsoft MVP, a Telerik MVP, an author, and he creates courses for
Pluralsight. Liberty hosts the popular Yet Another Podcast and his blog is considered required reading. He was a Senior Evangelist for Microsoft, a XAML Evangelist for Telerik, a Distinguished Software Engineer at AT&T; Software Architect for PBS and Vice President of Information Technology at Citibank. Jesse can be followed on twitter at @JesseLiberty

A bio is not available for this author.

Customer Reviews

Average Review:

Post to your social network

     

Most Helpful Customer Reviews

See all customer reviews

Programming Reactive Extensions and LINQ 3 out of 5 based on 0 ratings. 2 reviews.
Dustin-Davis More than 1 year ago
I was really disappointed in this book. To start off, the code examples were unusable. I'm not sure if the authors were using a beta version or what was going on but none of the methods had overloads matching what was in the book. I tried regular console projects, silverlight and WP7 projects thinking the authors were focusing on a specific platform, but to no avail. Figuring out how the code should really be wasn't difficult, but if I wanted to do that there are plenty of cheaper alternatives. Personally, I dislike the focus on Windows Phone projects simply from the point of view it could alienate developers. However, seeing as how the book is not well written, nor organized, it wouldn't matter anyway. Despite these issues, I did read through the book to get the overall concept and features of Rx but I was able to get more useful information from MSDN and online video sites. An aside, the authors seem very full of themselves.
Lord_Acavier More than 1 year ago
This is a short, yet very fascinating book on LINQ and Reactive Extensions. LINQ is SQL like syntax used to perform operations on collections. While LINQ works on static collections, collections where the members are all present at the time of the operations being performed on them, Reactive Extensions are an adaptation of LINQ used on future collections, which are collections where the members are not all present at the time operations are done on them, but they come in over time. This book will teach you the difference between LINQ and Reactive Extensions and how to use each. Reactive Extensions also allows you to work on collections asynchronously and both LINQ and Reactive Extensions are forms of declarative coding which focuses on what the goal is rather than each execution step to get to that goal. Imperative coding, which is what we are all used to, focuses on each step it takes to accomplish the goal. I would recommend this book to anyone who is currently using LINQ and who is interested in learning Reactive Extensions.