Skip to content

danien/Fabulous

This branch is 2250 commits ahead of, 1186 commits behind fabulous-dev/Fabulous:main.

Folders and files

NameName
Last commit message
Last commit date
Nov 20, 2020
Nov 26, 2020
Apr 8, 2019
Feb 10, 2021
Apr 18, 2021
May 7, 2021
May 7, 2021
May 29, 2020
Nov 11, 2020
Nov 11, 2020
Jan 29, 2021
May 7, 2021
Feb 10, 2020
Jan 29, 2021
Sep 7, 2018
Jan 15, 2021
May 4, 2021
May 7, 2021
Aug 24, 2020
Sep 27, 2018
Nov 14, 2020
Apr 9, 2021
Apr 9, 2021
Aug 27, 2020
May 23, 2020
Jan 29, 2021
May 23, 2020
Jul 11, 2018
Jan 15, 2021
Jun 18, 2021

Repository files navigation

Fabulous

F# Functional App Development, using declarative dynamic UI

Build Status Fabulous.XamarinForms NuGet version Join the chat at https://gitter.im/fsprojects/Fabulous

Never write a ViewModel class again! Conquer the world with clean dynamic UIs!

Fabulous allows you to combine the power of functional programming and the simple Model-View-Update architecture to build any kind of mobile and desktop applications with an expressive, dynamic and clean UI DSL. Go cross-platform with Fabulous for Xamarin.Forms and target iOS, Android, Mac, WPF and more!

Documentation

See also the release notes of the current version and roadmap for the future of Fabulous.

About Fabulous

Fabulous aims to provide all the tools to let you create your own mobile and desktop apps using only F# and the Model-View-Update architecture (shorten to MVU), with a great F# DSL for building dynamic UIs.
The combination of F# and MVU makes for a great development experience.

Note that Fabulous itself does not provide UI controls, so you'll need to combine it with another framework like Xamarin.Forms.

Fabulous for Xamarin.Forms

Fabulous for Xamarin.Forms combines both frameworks with a tailored DSL to let you take advantage of everything Xamarin.Forms has to offer while keeping all the benefits of Fabulous.

With Fabulous for Xamarin.Forms, you will be able to write complete applications in F# like this:

type Model = { Text: string }
type Msg = ButtonClicked

let init () = { Text = "Hello Fabulous!" }

let update msg model =
    match msg with
    | ButtonClicked -> { model with Text = "Thanks for using Fabulous!" }

let view model dispatch =
    View.ContentPage(
        View.StackLayout(
            children = [
                View.Image(source = Image.fromPath "fabulous.png")
                View.Label(text = model.Text)
                View.Button(text = "Click me", command = fun () -> dispatch ButtonClicked)
            ]
        )
    )

Learn more about Fabulous for Xamarin.Forms

Can I use Fabulous with other UI frameworks?

Fabulous is not tied to Xamarin.Forms.
If you want to use your favorite UI framework instead, it's possible.

To help you with that, Fabulous comes with its own code generator, called Fabulous.CodeGen, to automate the creation of a DSL specific to your UI framework.

Learn more about Fabulous.CodeGen

They use Fabulous

Tawasal

Tawasal - www.tawasal.ae

Tawasal is a secure multi-purpose messenger and superapp, offering free voice, text, videoconferencing and lifestyle services to clients around the world.
Learn more about Tawasal

Credits

This repository is inspired by Elmish.WPF, Elmish.Forms and elmish.

About

F# Functional App Development

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • F# 98.4%
  • C# 1.6%