Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
reactive extensions<br />
about me<br />Kharkov – Ciklum (Scale Point) - .NET – podcasts – open source <br />
rxcurrent version<br /><ul><li>Base interfaces in BCL .NET 4 and WP7
Stable version: v1.0.10621
Experimental Release: v1.1.10621
Last update: June 29, 2011
http://msdn.microsoft.com/en-us/data/gg577609</li></li></ul><li>rxfor<br />.NET<br />.NET 3.5 SP1<br />.NET 4<br />Silverl...
rxmission<br />“Rx is a library for composingasynchronous and event-based programs using observable collections.” <br />
“asynchronous”<br />
“observable”<br />interfaceIObservable<out T><br />{<br />IDisposableSubscribe(IObserver<T> observer);}<br />interface IOb...
Application<br />Got next?<br />MoveNext<br />OnNext<br />Have next!<br />Interactive<br />Reactive<br />Environment<br />...
IDisposable<br />interfaceIObservable<out T><br />{<br />IDisposableSubscribe(IObserver<T> observer);}<br />interface IObs...
“composing”<br /><ul><li>Linq(Where, Take, Skip, Sum, Max, Any, …)
Statements(If, Case, For, While, DoWhile)
Combinators(Merge, Zip, Amb, …)
Exceptions(Catch, Retry, ..)
Rx(Delay, Throttle, Interval, Publish, …)</li></li></ul><li>“event-based”<br />Observable.FromEventPattern()<br />Observab...
IScheduler<br />Observable.OnserveOn()<br />Observable.SubscribeOn(Scheduler.TaskPool)<br />
demo<br />
rxunit testing<br />
more rx<br />Rx Contribhttp://rxcontrib.codeplex.com/ <br />Reactive Extensions - Extensions (Rxx)http://rxx.codeplex.com/...
examples<br />
ReactiveUI<br />http://www.reactiveui.net/ <br />
Upcoming SlideShare
Loading in …5
×

Reactive extensions itjam

517 views

Published on

Published in: Technology, Sports
  • Be the first to comment

  • Be the first to like this

Reactive extensions itjam

  1. 1. reactive extensions<br />
  2. 2. about me<br />Kharkov – Ciklum (Scale Point) - .NET – podcasts – open source <br />
  3. 3. rxcurrent version<br /><ul><li>Base interfaces in BCL .NET 4 and WP7
  4. 4. Stable version: v1.0.10621
  5. 5. Experimental Release: v1.1.10621
  6. 6. Last update: June 29, 2011
  7. 7. http://msdn.microsoft.com/en-us/data/gg577609</li></li></ul><li>rxfor<br />.NET<br />.NET 3.5 SP1<br />.NET 4<br />Silverlight<br />Silverlight 4<br />Silverlight 5<br />Windows Phone<br />Java script<br />
  8. 8. rxmission<br />“Rx is a library for composingasynchronous and event-based programs using observable collections.” <br />
  9. 9. “asynchronous”<br />
  10. 10. “observable”<br />interfaceIObservable<out T><br />{<br />IDisposableSubscribe(IObserver<T> observer);}<br />interface IObserver<inT><br />{<br />voidOnNext(T value);<br />voidOnError(Exception ex);<br /> voidOnCompleted();<br />}<br />interfaceIEnumerable<out T><br />{<br />IEnumerator<T> GetEnumerator();}<br />interface IEnumerator<out T> : IDisposable<br />{<br />boolMoveNext();<br /> T Current { get; }<br />void Reset();<br />}<br />
  11. 11. Application<br />Got next?<br />MoveNext<br />OnNext<br />Have next!<br />Interactive<br />Reactive<br />Environment<br />IObservable<T><br />IObserver<T><br />IEnumerable<T><br />IEnumerator<T><br />
  12. 12. IDisposable<br />interfaceIObservable<out T><br />{<br />IDisposableSubscribe(IObserver<T> observer);}<br />interface IObserver<inT><br />{<br />voidOnNext(T value);<br />voidOnError(Exception ex);<br /> voidOnCompleted();<br />}<br />
  13. 13. “composing”<br /><ul><li>Linq(Where, Take, Skip, Sum, Max, Any, …)
  14. 14. Statements(If, Case, For, While, DoWhile)
  15. 15. Combinators(Merge, Zip, Amb, …)
  16. 16. Exceptions(Catch, Retry, ..)
  17. 17. Rx(Delay, Throttle, Interval, Publish, …)</li></li></ul><li>“event-based”<br />Observable.FromEventPattern()<br />Observable.FromAsyncEventPattern()<br />
  18. 18. IScheduler<br />Observable.OnserveOn()<br />Observable.SubscribeOn(Scheduler.TaskPool)<br />
  19. 19. demo<br />
  20. 20. rxunit testing<br />
  21. 21. more rx<br />Rx Contribhttp://rxcontrib.codeplex.com/ <br />Reactive Extensions - Extensions (Rxx)http://rxx.codeplex.com/ <br />Rx Power Toys<br /> http://rxpowertoys.codeplex.com/ <br />
  22. 22. examples<br />
  23. 23. ReactiveUI<br />http://www.reactiveui.net/ <br />
  24. 24. domain events<br />http://chaliy.name/archive/2010/1/business_logic_rx_example<br />
  25. 25. TweetSharp.Rx<br />https://github.com/jhollingworth/TweetSharp.Rx <br />
  26. 26. rxin books<br />
  27. 27. information<br />Rx team blog http://blogs.msdn.com/rxteam<br />DevLabshttp://msdn.microsoft.com/en-us/data/gg577609MSDN forums http://social.msdn.microsoft.com/Forums/en-US/rx<br />Channel9 http://channel9.msdn.com/Tags/Rx<br />Wiki http://rxwiki.wikidot.com <br />
  28. 28. summary<br />
  29. 29. questions?<br />dimapasko@gmail.com<br />pad@ciklum.net <br />@dimapasko<br />

×