Npgsql.FSharp
ply
Our great sponsors
Npgsql.FSharp | ply | |
---|---|---|
7 | 3 | |
308 | 242 | |
- | 0.0% | |
1.8 | 0.0 | |
3 days ago | over 1 year 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.
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
ply
-
I have created a library for F# that is inspired ZIO and Cats Effects for Scala. It takes advantage of fibers for making scalable and efficient concurrent programs. I thought some people here might be interested in it!
I work with mass-scale concurrency using green threads (~50000 server tasks a second, as many threads at a time as possible, ~50ms latency differences matter). How is the performance relative to something like Ply? I am particularly concerned with GC pauses.
-
FsToolkit.ErrorHandling 2.2.0 🚀
Ply is a great library for interacting with Tasks: https://github.com/crowded/ply
-
Making Http Requests in F#
DISCLAIMER: I'll be using Ply in most of the samples due to it's efficient task CE and the easy interoperability between C# tasks as well as F#'s async. Http operations are by nature async operations, that means using async/await in C#/JavaScript or using async {} in F# which can be a little annoying when you need to append |> Async.AwaitTask to every function/method that returns a Task.
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.
FsToolkit.ErrorHandling - An opinionated F# Library for error handling
Dapper.FSharp - Lightweight F# extension for StackOverflow Dapper with support for MSSQL, MySQL, PostgreSQL, and SQLite
FSharp.SystemTextJson - System.Text.Json extensions for F# types
Thoth.Json.Net
FSharp.CosmosDb - An F# wrapper around Cosmos DB's .NET SDK to make it more friendly for F# developers
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.
ClosedXML.SimpleSheets - Easily generate Excel sheets from F#
FsHttp - A lightweight F# HTTP library by @SchlenkR and @dawedawe
Falco - A toolkit for building fast and functional-first web applications using F#.
fio - :wrench: A type-safe, highly concurrent library for F# based on pure functional programming