Перейти к файлу
Hadrian Tang 0c9f8ec598 Merge branch 'master' of https://github.com/fsprojects/Fabulous into patch-9 2019-11-05 18:02:48 +08:00
.nuget Downgraded to Oxyplot 1.0.0 2019-04-08 10:15:22 +02:00
.paket Update Paket and XCode 2019-10-26 20:57:21 +02:00
Fabulous.CodeGen Use invariant culture 2019-10-30 23:18:25 +01:00
Fabulous.StaticView Remove Android designer files 2019-07-11 18:31:08 +02:00
Fabulous.XamarinForms Merge branch 'master' of https://github.com/fsprojects/Fabulous into patch-9 2019-11-05 18:02:48 +08:00
docs Update views-extending.md 2019-11-02 18:27:51 +08:00
src Merge branch 'master' into generator-v2 2019-10-24 13:56:16 +02:00
tests Moved Fabulous.CodeGen into its own folder 2019-10-05 11:17:53 +02:00
.gitignore Clean gitignore 2019-10-20 20:45:03 +02:00
DEVGUIDE.md Bold instead of title 2019-07-31 18:29:59 +08:00
Directory.Build.props 0.50.0 2019-11-04 20:51:25 +01:00
FABULOUS.md Update FABULOUS.md 2019-07-06 13:46:15 +02:00
Fabulous.sln Update Fabulous.sln 2019-11-02 18:08:36 +08:00
LICENSE.md rename 2018-09-07 13:29:05 +01:00
Packages.targets Use previous behavior for AttributeKey generated names 2019-10-26 17:08:30 +02:00
README.md Update README.md 2019-07-07 12:09:45 +02:00
RELEASE_NOTES.md 0.50.0 2019-11-04 20:51:25 +01:00
SourceLink.props SourceLink.props 2018-09-27 14:09:52 +02:00
azure-pipeline-osx-setup.sh Update Paket and XCode 2019-10-26 20:57:21 +02:00
azure-pipelines-full.yml . 2019-10-26 20:27:07 +02:00
azure-pipelines-pr.yml . 2019-10-26 20:27:07 +02:00
build.cmd Versioned FAKE 2019-04-10 09:31:51 +02:00
build.fsx Build script 2019-10-06 09:53:34 +02:00
build.proj Versioned FAKE 2019-04-10 09:31:51 +02:00
build.sh Versioned FAKE 2019-04-10 09:31:51 +02:00
netfx.props fix build 2018-07-11 15:05:53 +01:00
paket.dependencies Update Paket and XCode 2019-10-26 20:57:21 +02:00
paket.lock Use previous behavior for AttributeKey generated names 2019-10-26 17:08:30 +02:00
paket.references Versioned FAKE 2019-04-10 09:31:51 +02:00

README.md

Fabulous

F# Functional App Development, using declarative dynamic UI

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

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

This repository contains 3 differents libraries:

Package NuGet
Fabulous Fabulous NuGet version
Fabulous.XamarinForms Fabulous.XamarinForms NuGet version
Fabulous.StaticView.XamarinForms Fabulous.StaticView.XamarinForms NuGet version

Fabulous

This library aims to provide all the core abstractions and tools for writing your own app framework based on the "model view update" programming model and dynamic UI. It is a variation of elmish, an Elm architecture implemented in F#.

Learn more about Fabulous

Fabulous for Xamarin.Forms

This library allows you to use the ultra-simple Model-View-Update architecture to build applications for iOS, Android, Mac, WPF and more using Xamarin.Forms. It is built on Fabulous.

With Fabulous for Xamarin.Forms, you will be able to write complete applications fully 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 = "fabulous.png")
                View.Label(text = model.Text, fontSize = 22.)
                View.Button(text = "Click me", command = (fun () -> dispatch ButtonClicked))
            ]
        )
    )

Learn more about Fabulous for Xamarin.Forms

Fabulous StaticView

This library allows you to write Xamarin.Forms apps using XAML and the Model-View-Update architecture.

It is not actively maintained.
If you wish to see more support for Fabulous.StaticView, please consider contributing.

Learn more about Fabulous StaticView

Contributing

Please contribute to this library through issue reports, pull requests, code reviews and discussion.

Credits

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