Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Good Examples #687

Closed
WonderPanda opened this issue Jul 30, 2014 · 70 comments
Closed

Good Examples #687

WonderPanda opened this issue Jul 30, 2014 · 70 comments

Comments

@WonderPanda
Copy link

I'm sure that I'm not the only who has mentioned this but there is a definite lack of solid examples/documentation when trying to look at building an application using RxUI, especially with the release of version 6. The only content I've been able to find that's applicable are on @paulcbetts personal blog and some half-finished (perhaps out of date with the new version) readmes in the docs branch.

The framework could desperately use some complete working examples of applications built on the different platforms it supports. I've found that the team at Adaptive have done some amazing work with Rx in WPF, HTML5, iOS and Windows Phone environments with an open source and well documented simulated trading application:
https://github.com/AdaptiveConsulting/ReactiveTrader

They seem to be rolling with their own implementation of MVVM leveraging Rx. Perhaps there would be opportunity to alter their codebase to leverage all the fantastic tools in ReactiveUI?

Either way it would be great to see some work on this front. I can personally volunteer my own time to work on a WPF sample application that could be open sourced but the lack of anything to follow is a big deterrent. Even knowing how to set up a MainViewModel properly is stumping me right now. Is there anyone from this community who I could collaborate with or even ask questions periodically about proper convention to build such a sample application to help other newcomers?

@dsaf
Copy link

dsaf commented Sep 5, 2014

Also https://github.com/reactiveui/ReactiveUI.Samples seem to be desperately outdated.

@rfrfrf
Copy link

rfrfrf commented Oct 14, 2014

Agreed. Official samples must be updated to work with the newest version.

But for now, take a look at Building Apps the GitHub Way
https://github.com/paulcbetts/XamarinEvolve2014
where Paul Betts demonstrates how to use the current (6.x) version of ReactiveUI and other very cool stuff he is working on.

@axefrog
Copy link

axefrog commented Oct 15, 2014

I'd like to add a vote for documentation and samples as well. It's great to see that the framework is evolving and getting more and more capable, but the lack of up-to-date documentation, guides and samples really kind of renders all of this great work inaccessible to all but the most determined developers. I think it would be really valuable to take a temporary step back from further development of the framework and put some major focus on documentation. I know that I would find it useful and I'm sure you could increase the user base significantly by doing so.

@anaisbetts
Copy link
Member

If you guys want them updated, maybe a good project is for one of you to just update them?

@axefrog
Copy link

axefrog commented Oct 15, 2014

Unfortunately I'm not enough of an expert in the intricacies of the library to take this on. My comment was inspired by the fact that documentation by an expert (such as yourself) would be very helpful in more effectively utilising ReactiveUI.

@anaisbetts
Copy link
Member

@axefrog You would be an expert once you're done

@axefrog
Copy link

axefrog commented Oct 15, 2014

And yet documentation would alleviate the need to become one ;)

Look, I understand we're all busy people and it's certainly not my place to tell people what their priorities are, I was simply making the point that ReactiveUI is a great framework from what I understand about it so far, and it's a shame that documentation is not prioritised more than it is, as it means it's less approachable for newcomers (such as myself) than it could be, particularly in terms of unknown unknowns, and this means that you're limiting the scope of the audience for all your great work. Anyway, thanks for building a great framework, I guess I'll figure out the intricacies when I need to...

@shiftkey
Copy link
Contributor

@axefrog there's a set of docs relevant to RxUI 6 here: https://github.com/reactiveui/ReactiveUI/tree/master/docs

I appreciate the questions raised here, and I'd love to clarify the questions/issues you are grappling with about RxUI, so those gaps can be addressed...

@ghuntley
Copy link
Member

ghuntley commented Nov 4, 2014

Hey I'm working on a RXui application for an upcoming presentation. Have no issues polishing the crap out/gold plating the application to act as a learning reference in exchange for some abusive mentoring in slack - if/when needed. 👍

@ghuntley
Copy link
Member

Solid WPF + Caliburn example by @flagbug -> https://github.com/flagbug/Espera

@SuperJMN
Copy link

I also feel there's a lack of good examples. Something not too complex, but something like Sacha Barber did with his Cinch (a simple application that features a little of every piece of the library, can be found here http://www.codeproject.com/Articles/99010/CinchV-Version-of-my-Cinch-MVVM-framework-part).

I offer myself to make some showcase in WPF.

@ghuntley
Copy link
Member

WPF example by @grokys which uses Rx5 -> https://github.com/grokys/ReactiveGitHubClient

@ghuntley
Copy link
Member

Android example by @flagbug using Rx6 + Xamarin Forms -> https://github.com/flagbug/UnofficialGitterApp

@SuperJMN
Copy link

Oh, it seems that the one by @grokys is at the very early stage of development. It doesn't even have the login implemented 😄

Also, I've seen the Espera application by @flagbug and it's too complex to handle for newcomers. I hope someone can offer some update documentation or project. I really looking forward to learning how to use RxUI!

@grokys
Copy link
Member

grokys commented Nov 18, 2014

Yes, apologies - I intended to work more on it, but real life got in the way :( Maybe in the next month or so I will have some time...

@SuperJMN
Copy link

Don't worry, I understand you! Real life job got my balls, too. Too bad! I think I should become unemployed to get some good fun, 😆

@sh1989
Copy link

sh1989 commented Dec 5, 2014

Just on the note of ReactiveUI examples, here's a WPF and Android app that I created for the DDD East Anglia and DDD North conferences in the UK: https://github.com/sh1989/ReactiveFlickr

There's two branches: master uses WPF bindings, auto-data-template uses ReactiveUi's IViewFor functionality to magic up views for view models

@ghuntley
Copy link
Member

ghuntley commented Dec 5, 2014

@anaisbetts
Copy link
Member

💖 💖 💖 💖 So many great apps! 💖 💖 💖 💖

@SuperJMN
Copy link

SuperJMN commented Dec 5, 2014

This is my little offer: https://github.com/SuperJMN/ReactiveUI-BingSearch

It's a working example that uses some cool features. It's very basic, but I might be useful for anyone 😄

@ghuntley
Copy link
Member

Good Rx5.4 routing example by @jen20 at https://github.com/jen20/reactive-routing

@ghuntley
Copy link
Member

Android + RxUI 5.99 by @mhorn69 at https://github.com/mhorn69/ReactiveUI.Xamarin.Samples - note related to pull request #542

@ghuntley
Copy link
Member

RxUI 6.3 example by @RolandPheasant at https://github.com/RolandPheasant/TradingDemo who also just published https://github.com/RolandPheasant/DynamicData which is a comprehensive library for reactive extensions, which are used to manage in-memory collections. As the source collection changes the operators receive a changeset which enables them to self-maintain.

@RolandPheasant
Copy link

@ghuntley The best way to illustrate anything is by example which is why I put together the trading demo as a show case for dynamic data. I saw ReactiveTrader by adaptive which personally I think is a tool for selling their skills as a company rather than as an education illustration. This is why I have made each screen in the trading demo very simple so the code is easy to follow.

I have several more screens in mind which when I get a chance I will implement. Although I set it up as living documentation for Dynamic Data, the more I look at ReactiveUI to more inclined I am to embrace it. I think ReactiveUI and Dynamic Data complement each other very well which is why I wrote the adaptor see https://github.com/RolandPheasant/DynamicData.ReactiveUI

So perhaps going forward I will get rid of my crap mvvm implementation, use ReactiveUI and make it a living document for both.

@anaisbetts
Copy link
Member

ReactiveTrader is a good example for how to use Rx in an API, but when they get to the actual UI layers, they fall back to imperative coding city. It's still worth looking at of course, just know that you can do far better :)

@RolandPheasant
Copy link

Well put Paul

@jsphadetula
Copy link

Visual Studio Project Templates will be highly appreciated

@ghuntley
Copy link
Member

@TeaDrivenDev
Copy link

@ghuntley I think it's v6.1; it's a direct port of the ReactiveUI.Samples.Basics project, and the samples currently all use ReactiveUI 6.1.

@ghuntley
Copy link
Member

ghuntley commented Feb 8, 2016

https://github.com/flagbug/Espera.Mobile by @flagbug uses Rx6.5 and Xamarin Android. This is the mobile counterpart of https://github.com/flagbug/Espera which is Rx6.5, Caliburn and WPF.

@ghuntley
Copy link
Member

ghuntley commented Mar 2, 2016

https://github.com/moswald/RxUI-UWP-Sample by @moswald for UWP .Net Native and RxUI v7 (ie. building from source)

@eightrivers
Copy link

Is there any references on how to use ReactiveUI in winfom based application?

@GiusepeCasagrande
Copy link

A very basic sample of how to use Routed navigation with Xamarin.Forms 2.3.2 and RxUI 7: https://github.com/GiusepeCasagrande/RoutingSimpleSample/

@huyngoduc
Copy link

Do you guys have any sample that works for Winform + DataGridView.

@fskroes
Copy link

fskroes commented Oct 5, 2016

Hi all, I aswel started using Reactive Extensions in combination with ReactiveUI. Do any of you know a basic example on how to use ReactiveUI for iOS and Android in native Xamarin applcation? Thus, without Xamarin.Forms.

@assassin316
Copy link

Seeing as how there are many posts in this thread, I'm wondering if it would make sense for the ReactiveUI team to provide a simple bootstrapped solution which consists of basic projects for each platform (WinForms, WPF, iOS-Xamarin-UWP with Xamarin Forms). This way, when someone wants to dive into REactiveUi, they can simply start off from this basic "Skeleton" solution and not have to worry about bootstrapping.

@ghost
Copy link

ghost commented Mar 1, 2017

any examples on how to handle universal applications in Xamarin for both tablet and non-tablet (phone and tablet) on both IOS and Android?

@punker76
Copy link

punker76 commented Mar 1, 2017

Simple Music Player using now ReactiveUI 7.2 (MahApps.Metro, WPF 4.5+)

image

@ghost
Copy link

ghost commented Apr 9, 2017

Where's a good "hello world"? An unsorted Issues thread is a little overwhelming when I've just started looking at the framework.

@aalmada
Copy link
Member

aalmada commented Apr 9, 2017

@voltagex Try this one. It's based on a Xamarin tutorial. https://github.com/aalmada/reactive-dev-days-lab

@JonDouglas
Copy link

https://github.com/JonDouglas/BeingReactive - Xamarin.Android sample

@yehorhromadskyi
Copy link

@JonDouglas Hi, thank you for your sample. I was curious, where I should initialize my all startup stuff, like IoC container registrations, etc. on Android, in my main activity? Thanks in advance.

@JonDouglas
Copy link

@yehorhromadskyi You should do it in a Custom Application class. You should be able to take any existing Xamarin IoC example as a baseline. However Splat seems to do a good enough job with it's service locator.

https://github.com/RobGibbens/Xamarin.IoC

@yehorhromadskyi
Copy link

@JonDouglas Thank you, that was helpful!

@ghost
Copy link

ghost commented Sep 24, 2019

@axefrog there's a set of docs relevant to RxUI 6 here: https://github.com/reactiveui/ReactiveUI/tree/master/docs

I appreciate the questions raised here, and I'd love to clarify the questions/issues you are grappling with about RxUI, so those gaps can be addressed...

404 not found :(

GitHub
GitHub is where people build software. More than 40 million people use GitHub to discover, fork, and contribute to over 100 million projects.

@glennawatson
Copy link
Contributor

glennawatson commented Jan 17, 2020

We been getting a decent set of samples here now https://github.com/reactiveui/reactiveui.samples

GitHub
This repository contains ReactiveUI samples. Contribute to reactiveui/ReactiveUI.Samples development by creating an account on GitHub.

@lock lock bot added the outdated label Apr 18, 2020
@lock lock bot locked and limited conversation to collaborators Apr 18, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests