Avalonia.FuncUI
Saturn
Our great sponsors
Avalonia.FuncUI | Saturn | |
---|---|---|
20 | 9 | |
845 | 695 | |
3.1% | 0.6% | |
8.4 | 2.1 | |
9 days ago | 6 days ago | |
F# | F# | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Avalonia.FuncUI
- AvaloniaUI: Create Multi-Platform Apps with .NET
- Course using F#: Write your own tiny programming system(s)
-
ASP.NET Core Blazor
For those interested in .NET languages with alternative compilation targets, Elmish (https://elmish.github.io/elmish/) is pretty unique.
We use F# on the front end (instead of TS), and thanks to the Fable compiler (which transpiles F# to JS, Python, Dart, PHP and Rust), most of the benefits of an Elm-style model in the UI can be ported to all sorts of different outputs languages. The rust target is in beta, but its promising because the WASM bundle size stands to be dramatically lower.
While the default is reactivity library for Elmish is React, you can swap in Avalonia/FuncUI (https://github.com/fsprojects/Avalonia.FuncUI) pretty easily as well.
-
GUI development with Rust and GTK 4
The code to declare/build the widgets is quite nice. Modifying widgets by hand on certain signals or manually re-wiring all the signals seems a bit outdated to me.
Wonder if something like FuncUI [1] could be built on top of it.
[1] https://github.com/fsprojects/Avalonia.FuncUI
-
Desktop UI with F# web frameworks?
OTOH, if desktop really is the primary focus, and if you can drop the idea of reusable UI code, then Avalonia is a great choice for F# as you can use a Avalonia.FuncUI and/or Elmish.Avalonia.
- Functional cross platform UI in F#
-
Why does it seem like Microsoft is actively ignoring AvaloniaUI?
And one more MVU for you https://github.com/fsprojects/Avalonia.FuncUI
- Is Maui dead on arrival?
-
Ask HN: How to make a native GUI with a modern language?
You might want to check out Avalonia.FuncUI, which lets you use F# and the cross-platform Avalonia framework to build desktop applications with an Elm-like architecture: https://github.com/fsprojects/Avalonia.FuncUI#example-using-...
- Looking to write F# WinUI 3 stuff - does anyone have real world examples?
Saturn
-
F# File uploads with Saturn and Falco
Today I don't have a new series to start with but rather a simple example which may or may not grow in another blog series. For the moment we'll talk about how to do File uploads to an F# backend powered by Falco and Saturn so let's get started!
-
Targeting Node, Bun and Deno With F#
Bix is a micro-framework designed with F# in mind and that runs on both Deno and Bun! and in theory it also should even run in a service worker! (intercepting fetch requests) although I haven't tested that yet, it offers a general purpose handler that coupled with a set of route definitions it can bring a Giraffe/Saturn like framework to life in JavaScript runtimes which is incredibly awesome! useful? maybe not 😅, but awesome indeed. Let's see some code for it
-
If you were to create a Web API today from scratch how would you do it ?
Backend: Most likely it would be a toss between https://saturnframework.org or https://giraffe.wiki. They both combins the extremely good type system in F# combined with the ease of a minimal API.
-
Why did you (any .NET pro) either choose or switch to using F#?
The "S" stands for Saturn. Suave is not very popular.
-
Building a Webpack alternative in F#
While for a proof of concept Suave did great, I switched it in favor of Saturn given my familiarity with it and some ASP.NET code.
- Show HN: F# web server in 3-4 lines of code
-
Phoenix for F#
Saturn is heavily inspired by phoenix and has similar generators, and a channel system that is similar. As well as almost the exact same syntax for the router with plugs and all.
-
Doing MVC in F# and Saturn
Today we'll try to keep it as simple as possible but no promises, since this entry is about creating web servers in F# using Saturn and not only that, we'll also try to go for a more traditional'ish MVC.
-
Saturn 0.15 Released 🔷🚀🪐
🌱release on github
What are some alternatives?
Fabulous - Declarative UI framework for cross-platform mobile & desktop apps, using MVU and F# functional programming
Giraffe - A native functional ASP.NET Core web framework for F# developers.
MySqlConnector - MySQL Connector for .NET
Suave.IO - Suave is a simple web development F# library providing a lightweight web server and a set of combinators to manipulate route flow and task composition.
Avalonia - Develop Desktop, Embedded, Mobile and WebAssembly apps with C# and XAML. The most popular .NET Foundation community project.
Falco - A toolkit for building fast and functional-first web applications using F#.
openiddict-core - Flexible and versatile OAuth 2.0/OpenID Connect stack for .NET
Freya - Freya Web Stack - Meta-Package
Elmish.WPF - Static WPF views for elmish programs
ASP.NET Core - ASP.NET Core is a cross-platform .NET framework for building modern cloud-based web applications on Windows, Mac, or Linux.
Sutil - Lightweight front-end framework for F# / Fable. No dependencies.
dotNetify - Simple, lightweight, yet powerful way to build real-time web apps.