• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Rx - Reactive Extensions
 

Rx - Reactive Extensions

on

  • 2,391 views

Slides from my Bleeding Edge 2010 Conference Reactive Extensions Talk.

Slides from my Bleeding Edge 2010 Conference Reactive Extensions Talk.

Statistics

Views

Total Views
2,391
Views on SlideShare
2,390
Embed Views
1

Actions

Likes
1
Downloads
13
Comments
0

1 Embed 1

http://www.pearltrees.com 1

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Rx - Reactive Extensions Rx - Reactive Extensions Presentation Transcript

    • ANDREJ TOZON
      Microsoft MVP: Client App Dev
      ANT Andrej Tozon s.p., Ljubljana
      @andrejt| andrej@tozon.info | http://tozon.info/blog
    • Preštevanje zahteva svoj čas
      foreach (Slikca slikca in pokecSlikc){    if (!prjatu.ImaSlikco(slikca))    {        prjatu.MenjajSlikco(slikca);    }}
    • Preštevanje
      IEnumerator
      prešteva
      IEnumerable
    • Opazovanje
      Opazovalec
      opazuje
      Opazovanega
    • Opazovanje
      IObserver
      opazuje
      IObservable
    • Opazovanje
      public interface IObservable<out T>{    IDisposable Subscribe(IObserver<T> observer);}
      public interface IObserver<in T>{    void OnNext(T value);    void OnError(Exception error);    void OnCompleted();}
    • Preštevanje ali opazovanje?
      IEnumerator
      prešteva
      IEnumerable
      IObserver
      opazuje
      IObservable
    • Eden vleče, drugi poriva
      IEnumerator
      IEnumerable
      IObserver
      IObservable
    • Rx -
      ReactiveExtensions
      Andrej Tozon
      Microsoft MVP: Client App Dev
      ANT Andrej Tozon s.p., Ljubljana
      @andrejt| andrej@tozon.info | http://tozon.info/blog
    • Rx -
      ReactiveExtensions
      Library for composing asynchronous and event-based programs using observable collections
    • Rx -
      ReactiveExtensions
      Library for composing asynchronous and event-based programs using observable collections
    • Rx -
      ReactiveExtensions
      Library for composing asynchronous and event-based programs using observable collections
    • Rx -
      ReactiveExtensions
      Library for composingasynchronous and event-based programs using observable collections
    • demo
    • Kje to dobim?
      http://tiny.cc/rxnet
      .NET FX 3.5 SP1 in 4.0
      Silverlight 3 in 4
      Windows Phone 7
      JavaScript
    • Kje to dobim?
      System.Observable.dll
      IObservable in IObserver sta že vključena v .NET FX 4.0 Core
      System.CoreEx.dll
      System.Reactive.dll
      System.Interactive.dll
      EnumerableEx
    • Operatorji v EnumerableEx
      Konstruktorji
      Return
      Throw
      StartWith
      Generate
      Defer
      Enumerable -> Observable -> Enumerable
      var o1 = Enumerable.Range(1, 10).ToObservable();var o2 = Enumerable.Range(51, 10).ToObservable();var en = o1.Amb(o2).ToEnumerable();
      Kombinatorji
      Concat
      Repeat
      Scan
      SelectMany
    • Viri
      Rx DevLabs http://tiny.cc/rxnet
      Rx Blog http://blogs.msdn.com/rxteam
      Rx Wiki http://rxwiki.wikidot.com/
      Channel9 http://channel9.msdn.com/tags/Rx/
    • vprašanja?
      Andrej Tozon
      Microsoft MVP: Client App Dev
      ANT Andrej Tozon s.p., Ljubljana
      @andrejt| andrej@tozon.info | http://tozon.info/blog
    • HVALA