Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 77050

Fabulous F# Functional App Development

$
0
0

Hello all!

I can't find a thread on Fabulous via search so I'm assuming the subject hasn't come up yet. It's a young framework developed in part by F#'s Don Syme that uses F# and elmish MVU to build Xamarin.Forms applications, the most noticeable advantage being that it does away with all the binding and XAML support code (think no more IValueConverters) in favor of an elm style application structure. It also supports live updating your program while debugging.and uses model immutability to make storing and restoring the app state a piece of cake (although so far I am having limited success with getting either going).

The cons are obviously that if you are approaching it from a pure C# perspective you are probably going to have quite a time adjusting to the functional paradigm, and elm architecture also takes some getting used to even if you are proficient with F#, and the overall newness of the project.

While I found it to be one of the better documented open source projects I've come across, and despite the sample projects available the main thing I think it's currently lacking is some sort of cookbook. For instance it was definitely ultimately possible to get a device permission between model updates but I would much rather the solution had turned up by me searching "F# Fabulous Permissions" rather than going through the (concise and well organized) documentation until I found the Cmd.ofAsyncMessage example.

So if anyone else is experimenting with Fabulous I hope this post gets the ball rolling for some shop talk, perhaps establish a useful pattern or two.

Project page: https://fsprojects.github.io/Fabulous/

Don Syme Fabulous presentation powerpoint: https://t.co/ZkiKOzhVKD


Viewing all articles
Browse latest Browse all 77050

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>