An open source Reactive UI sample
Today is an exciting day for us, we are open-sourcing our sample reactive UI application, that we presented at React 2014!
The app is called Reactive Trader®, it is a sample trading application that illustrates the different traits of a reactive application. The app connects to a dummy pricing server via web socket using SignalR, displays real-time streaming prices, executes trades asynchronously, detect failures, recovers, etc.
The app makes heavy use of Reactive Extensions (Rx) and the UI comes in 2 flavours:
- a rich client build using WPF, RxNet and SignalR
- and a web client using TypeScript and RxJS - this one is still work in progress but we will get it done if you guys show interest ;)
We have been building reactive UIs and servers in the financial industry for years and we have tried to pack here some of the patterns and designs principles we use in our day to day job - hopefully, this will be useful for you and others.
Also, we think the app is a very good "real life" example of what can be done with Rx, hopefully, more relevant than the usual let's observe mouse move events™
We are big fans of Rx and have been using it since its first release in early 2010.
Lee Campbell, who presented the app at React with Matt Barrett, is also the author of Intro to Rx, probably the best resource out there to learn Rx.
We have quite a few blog posts in the pipe to give more details about the app and we will also publish the video of our presentation at React once available, so stay tuned! All this will be announced on @WeAreAdaptive
Show me the code!
Source code, docs and download package are on GitHub.
This is what the app looks like. Pretty slick, thanks to our good friends from Reason!
Co-founder and Chief Technology Officer,
Adaptive Financial Consulting