Giraffe.DotLiquid
Feliz.ViewEngine
Giraffe.DotLiquid | Feliz.ViewEngine | |
---|---|---|
2 | 3 | |
9 | 65 | |
- | - | |
0.0 | 0.0 | |
9 months ago | over 3 years ago | |
F# | F# | |
Apache License 2.0 | GNU General Public License v3.0 or later |
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.
Giraffe.DotLiquid
-
Razor pages for F#?
Closest thing I've seen is DotLiquid in Giraffe.
-
C# web devs, would you consider F# for your next prototype if it was this simple
I'm not a fan of DSL templating either so there's two of us at least! Giraffe has a DotLiquid library. It's offered as a separate package because Giraffe is on the DSL train when it comes to views. If WebFrame doesn't have any templating built in currently then it can be argued that DotLiquid would fit quite well to be built in. I see view templating as a basic feature for a web framework. If you're not doing APIs you need templating because I can't recall the last time I used a back-end framework for a static website.
Feliz.ViewEngine
-
Doing MVC in F# and Saturn
There are other DSL Flavors out there like https://github.com/dbrattli/Feliz.ViewEngine (a react based DSL) or https://github.com/giraffe-fsharp/Giraffe.Razor (if you like razor pages) so if you feel this is too much, don't worry you can still write plain HTML (cshtml) or React jsx like code.
-
Generating HTML in F#
Feliz.ViewEngine
-
F# for web development with no frameworks
Rather than using strings for html, you can use Feliz.ViewEngine. https://github.com/dbrattli/Feliz.ViewEngine
What are some alternatives?
Giraffe.Razor - Razor view engine http handlers for Giraffe web applications.
AAD.fs - F# WebAPI endpoint protection based on Azure AD roles
Saturn - Opinionated, web development framework for F# which implements the server-side, functional MVC pattern
scriban - A fast, powerful, safe and lightweight scripting language and engine for .NET
Feliz.Recoil - Fable bindings in Feliz style for Facebook's experimental state management library recoil.
SailsJS - Realtime MVC Framework for Node.js
SAFE.Simplified - A lightweight alternative template of SAFE for happy cross-IDE full-stack F# development
Feliz - A fresh retake of the React API in Fable and a collection of high-quality components to build React applications in F#, optimized for happiness