Skip to content

Instantly share code, notes, and snippets.

@ghuntley
Last active March 11, 2019 17:37
Show Gist options
  • Save ghuntley/4b007ff0bb4040d4e4b06cb8a7e1302a to your computer and use it in GitHub Desktop.
Save ghuntley/4b007ff0bb4040d4e4b06cb8a7e1302a to your computer and use it in GitHub Desktop.
reactiveui at ch9 runsheet

Reactive MVVM on the .NET Platform

nb: I'm not happy with this title, feel free to change it.

abstract

Tune in for Jeff and Geoff to learn about reactive programming. A paradigm that allows you to express the idea around a feature in one readable place, abstract mutable state away from your user interfaces and improve the testability of your application.

runsheet

  1. introduction to reactiveui

    • show website
    • is part of dotnet foundation
    • show that the code is on github
    • supports winforms, wpf and more
    • [call of action] reactiveui.net/slack
  2. shoutout to the maintainers (esp new folks)

  3. the reactive extensions were invented at microsoft

  4. introduction to observables

    • single value (object - sync)
    • multiple values (collection - sync)
    • single values over time (task - async)
    • multiple values over time (observable - async)
    • tasks can convert to observables (visa versa)
  5. teach people reactive programming with a spreadsheet

    • demonstrate the concept of whenany

    • Three cells, A, B, and C.

    • C is defined as the sum of A and B.

    • Whenever A or B changes, C reacts to update itself.

    • Now you understand reactive programming

    • Changes propagating throughout a system automatically.

    • Welcome to the peanut butter and jelly of programming paradigms.

  6. introduce open-source examples in the wild

  7. let's pair

  8. additional

    • reactiveui.events with winforms/wpf - komnami
@worldbeater
Copy link

worldbeater commented Feb 27, 2019

Worth mentioning that Avalonia now fully supports ReactiveUI, including binding and routing https://reactiveui.net/docs/getting-started/installation/avalonia Avalonia is a cross-platform GUI framework which allows us to run .NET apps on MacOS, Windows and Linux. A framework like Electron, but with Xaml, C# and Rx

@RolandPheasant
Copy link

I love the excel example to illustrate reactive programming

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment