Adam Hathcock’s Life in Software

Be Explicit 
Filed under

IObservable

 

Going Interactive with the Reactive Extensions

Exploring Interactive

Early on in this series, we covered that when talking about the Reactive Extensions, we were really talking about the traditional interactive programming in the form of the Iterator Pattern and reactive programming with the Observer Pattern.  Erik and his team went about to implement most of the LINQ operators from LINQ to objects onto the Reactive Extensions, but along the way found there were interesting ones that could immediately apply to IObservable<T> instances that had not been implemented yet on IEnumerable<T>.  So, then they decided, to work backwards and take the implementations of these new extension methods on IObservable<T> and apply them to IEnumerable<T>.  Let’s start exploring some of these below in the EnumerableEx class.

All of these extensions really get the mind grapes growing.

Loading mentions Retweet
Filed under  //   C#   IObservable  

Comments [0]

Official Rx Anouncement

I’m pleased to announce a preview of the Reactive Extensions for .NET (Rx) on MSDN DevLabs.

When the Somasegar says it on his blog, it's suddenly REAL.

Loading mentions Retweet
Filed under  //   IObservable  

Comments [0]

Introduction to the Reactive Framework Part V

In the previous post of the Introduction to the Reactive Framework series, we covered how to create new IObservable<T> instances, either from scratch or from existing sequences.  What this allowed us to do was turn an operation which was previously interactive, such as iterating over a collection, to a reactive, where I could have multiple listeners reacting to the same collection concurrently.  This has nice implications for allowing us to scale our application in interesting ways.  This time, let’s take another angle on making asynchronous programming easier.

Just more IObservable goodness. Though, I'm not sure I like the way the ending LINQ statement looks.

I guess a more Clean Code way would be to hide some of the subqueries behind methods.

Loading mentions Retweet
Filed under  //   cleancode   IObservable   linq   patterns  

Comments [0]

Introduction to the Reactive Framework Part III

Let’s start out by looking at the way we’d usually do event-based programming in .NET.

Matthew Podwysocki walks through more of the IObservable features with events. It's a good overview but the lack of some detail with the IObservable LINQ and/or extension methods make it a bit too high level to understand. I guess I just need to play with the code myself.

Loading mentions Retweet
Filed under  //   IObservable   patterns  

Comments [0]