Npgsql.FSharp
awesome-fsharp
Npgsql.FSharp | awesome-fsharp | |
---|---|---|
7 | 4 | |
308 | 1,142 | |
- | 0.4% | |
1.8 | 3.4 | |
9 days ago | 3 months ago | |
F# | ||
MIT License | Creative Commons Zero v1.0 Universal |
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.
Npgsql.FSharp
-
Idiomatic way to interact with database
When working with F#, my database layer code has always seemed ugly. It feels like functional languages don't pair well with storage. I've used F# with Dapper, EF, and Npgsql.FSharp. Although Npgsql.FSharp works well, I would still like to use something like EF since it handles inserts and updates so well.
-
Best practices F# API?
Not a big fan of ORMs in general, I've been using https://github.com/Zaid-Ajaj/Npgsql.FSharp for postgres.
- Data Access in Fsharp
-
Best resources for learning F# to write boring apps?
On Postgres, there's a decent low ceremony option by Zaid Ajaj: https://github.com/Zaid-Ajaj/Npgsql.FSharp
-
Recommended libraries / frameworks for web services
For database, I use PostgreSQL with https://github.com/Zaid-Ajaj/Npgsql.FSharp and I like it very much. Writing the services, I do hide database operations behind interfaces like
-
Making Http Requests in F#
Npgsql.FSharp
awesome-fsharp
-
Should I Haskell or OCaml?
2. https://github.com/fsprojects/awesome-fsharp#data-science
-
Best resources for learning F# to write boring apps?
I found this list of resources and libraries for F# which should get you started if you're looking for a specific library, like one for Postgres.
-
What does it take to be proficient at something?
Yeah, it's not the most mainstream programming language, but despite that there are some interesting F# projects.
-
Writing high performance F# code
I'd suggest having a look through https://github.com/fsprojects/awesome-fsharp and look at the high starred items (though some are not strictly F# but just something F# can use)
maybe something like suave (backend web framework).
The bigger problem I found going down the F# route is F# libraries go dead. For long term projects, far better not to use any thirdpary F# libraries and just use pretty popular third party .net libs from the C# world or the core .net lib. These days I mostly just use C#. The advantages of F# are not that big compared to just writing C# with a similar coding mindset.
What are some alternatives?
SqlHydra - SqlHydra is a suite of NuGet packages for working with databases in F# including code generation tools and query expressions.
Giraffe - A native functional ASP.NET Core web framework for F# developers.
Dapper.FSharp - Lightweight F# extension for StackOverflow Dapper with support for MSSQL, MySQL, PostgreSQL, and SQLite
NumPy - The fundamental package for scientific computing with Python.
Thoth.Json.Net
camlpdf - OCaml library for reading, writing and modifying PDF files
FSharp.Data.Npgsql - F# type providers to support statically typed access to input parameters and result set of sql statement in idiomatic F# way. Data modifications via statically typed tables.
elmish-spreadsheet - Implement your own Excel 365 in 100 lines of F#!
FSharp.SystemTextJson - System.Text.Json extensions for F# types
candle - Minimalist ML framework for Rust
ply - High performance System.Threading.(Value)Task computation expressions for F#
learn-you-a-haskell - “Learn You a Haskell for Great Good!” by Miran Lipovača