Matthew Podwysocki's Blog
Architect, Develop, Inspire...
-
Introduction to the Reactive Extensions for JavaScript – Conditionals
After spending the past couple of posts talking about how we integrate and why, let’s get back to the basic operators of the Reactive Extensions for JavaScript. This time, we’ll cover conditional logic that we can do with RxJS (which also applies to Rx.NET as well). With traditional LINQ, we have the Where operator which allows us to filter operations, but it doesn’t allow us to do one operation or another easily. Instead, the Reactive Extensions team has included two operators, If and Case which allow us some flexibility on how we want to execute conditional logic.
-
Introduction to the Reactive Extensions for JavaScript – MooTools Integration
In the previous post, I covered a bit about how we’ve integrated the Dojo Toolkit into the Reactive Extensions for JavaScript (RxJS) where we can leverage Dojo’s eventing and AJAX programming model. Following onto that post, I wanted to move onto a different framework and show how we integrated it into RxJS. This time, it’s MooTools up to the plate.
-
Introduction to the Reactive Extensions for JavaScript – Wrapping the Dojo API
Recently in some of the comments I’ve received (keep them coming BTW), I get questions about taking existing APIs and moving them towards using the Reactive Extensions for JavaScript (RxJS). How can we get away from constant callback hell and move towards composable asynchronous and event-based blocks instead? In this post, I’m going to walk through how we wrapped the Dojo Toolkit APIs to provide both event handling and AJAX functionality.
-
Talking Reactive Extensions
There has been a lot of movement around the Reactive Extensions lately and I thought I’d round them up for you in an easy to find location. Between the new release and various interviews, there’s a bit to cover.
-
Introduction to the Reactive Extensions for JavaScript – The Final Countdown Timer
In the previous couple of posts, I’ve talked about asynchronous method chaining and creating custom schedulers so I can repeatedly hit a data source for its data, transform it and then display the results. Instead of just setting a custom interval between the results and querying the system, so this time, I want to stick a timer where I can monitor the time between queries.
-
Introduction to the Reactive Extensions for JavaScript – Custom Schedulers
In the previous post, I talked a little bit about asynchronous method chaining and extending jQuery in a fluent style to fetch tweets from Twitter and append them to a given element. This time I want to expand upon that post, instead of taking only one tweet, I want to take one hundred of them and then cycle through each of them at a given interval. In order to do that, I must make use of something that I alluded to in earlier posts, and that is a custom scheduler.
-
Introduction to the Reactive Extensions for JavaScript – Async Method Chaining
Recently, there was a blog post by Dustin Diaz about method chaining over asynchronous operations. This topic, of course is near and dear to my heart as it strikes the exact chord of what the Reactive Extensions for JavaScript (RxJS) is trying to solve. The ability for us to take asynchronous operations and events and treat them as push collections, we are able to then compose functions together as if they were normal pull collections like arrays. In this post, I’ll walk through the example that was posted on Dustin’s site and show how it can be done using RxJS.
-
Introduction to the Reactive Extensions for JavaScript – Refactoring a Game
We’ve covered a lot of ground so far in this series including a lot of the combinators as well as the integration into third party libraries. Most of these examples have been from a green field mindset where we have an idea and then walk through how you would accomplish it using the Reactive Extensions for JavaScript (RxJS). This time, we’re going to take a game that’s already been written and take parts of it and migrate it to use RxJS.
-
Introduction to the Reactive Extensions for JavaScript – Going Parallel with ForkJoin
This past week there was a new release of the Reactive Extensions for JavaScript which includes many of the changes I’ve been talking about lately including the third-party library integration, aggregates and joins which I covered in the previous posts. This time, I’m going to look at how we can run some observable sequence using the fork/join pattern in JavaScript, to attain some cooperative multi-tasking.
-
[ANN] DC ALT.NET – 4/27/2010 – What has Mono done for the .NET developer lately?
As of late I haven’t posted the DC ALT.NET meetings here and instead have kept them to the Yahoo Groups mailing list. But this month’s topic is worth sharing in that we’re going to cover everything Mono related with a member of the Mono Team, Jackson Harper.