dart_frog
ktor
Our great sponsors
dart_frog | ktor | |
---|---|---|
18 | 48 | |
1,718 | 12,135 | |
2.9% | 1.6% | |
9.6 | 9.5 | |
about 8 hours ago | 7 days ago | |
Dart | Kotlin | |
MIT License | Apache License 2.0 |
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.
dart_frog
-
Dart on the Server: Exploring Server-Side Dart Technologies in 2024
DartFrog
-
Dart Fastest Growing Language in 2023
Dart is still mostly for Flutter, but we're seeing it move into the server side as well with projects like Serverpod and Dart Frog.
-
Dart Frog real world implementation
Has anyone used Dart Frog in a real world application? Is it viewed as production ready? Can you build a stand alone executable and deploy that directly or does it have to have a reverse proxy in front of it .(I'm thinking Nginx). I'm trying to build my own API for a Flutter application and while I'd like to do everything in one language, Go looks like the better option for the API since ease of deployment is important to me. I want non-technical people to be able to deploy this and having a single application that can be deployed without a reverse proxy is really attractive in that area but then I found Dart Frog so I'm willing to give it a shot if it can do what I need.
We’re working on multipart form data support (https://github.com/VeryGoodOpenSource/dart_frog/issues/296) but in the meantime you can use https://pub.dev/packages/shelf_multipart.
-
What Backend would you recommend.
There's also Dart Frog if you want to keep everything in Dart, but i do not have experience with it so can't recommend either way.
-
Dart in backend??
Dart Frog: https://dartfrog.vgv.dev/
-
Serverside Dart
dart_frog doesn't support it yet, you can track the progress at dart_frog#296.
In this blog, I will talk about the benchmarks of Flask (Python), Express (JavaScript), Shelf (Dart), dart_frog (Dart) and Conduit (Dart), and my opinions on Dart on the server side.
-
Ask HN: What is the future of Swift on the server-side?
Dart has some backend projects and support and is statically typed.
See Very Good Ventures own Dart Frog:
-
Ask HN: Why isn't Dart more popular?
I’ve been using Dart/Flutter for over a year now building an open source iOS/Android/Web app. In general, Dart is a solid language, and we enjoy writing code in it. The package management, for example is comparable to other best in class managers, like Rust’s Cargo and a huge leap forward from languages like Python. All the tooling (linting, formatter) takes the lessons Google learned from Go and applies them to Dart.
Additionally, It’s both an interpreted (with JIT) and a compiled language. Flutter uses this to hot reload code in development, but also to ship a leaner binary in production. On the server, native binaries are great for CLI tools for easy deployment, and the JIT is great for servers where processes are longer running and performance is more important than process size. Although it’s reasonably fast either way.
That being said, it’s a pretty boring language. It doesn’t have many expressive features to reduce boilerplate. While it does have reflection, no one uses it because it can’t be used in Flutter when compiling native binaries. Very few people are willing to make packages that don’t work in Flutter. People generally resort to code gen, which is clunky and adds another process to development.
On the server, there are not many options. The ‘shelf’ package is the default, but it falls short in many areas, making developers cobble together different packages. There are others, the one I’m watching is Frog[0], but adoption is slow. However, it is pretty much just another Next.js style clone, not adding anything novel to the space.
My hope is that the cloud providers will roll out native Dart support to their FaaS products, so I can at least share my model code between apps and the backend. However, the dream (well, my dream at least) is to have a full end-to-end Dart/Flutter solution that is real-time/reactive and not REST-based. Something like a programmable Firebase where I don’t have to deal with un/marshalling data myself all the time. I think that will get Flutter devs enough reason to move to Dart on the backend.
ktor
-
Creating a Ktor Server with Gradle and SDKMAN!: A Step-by-Step Guide
Ktor, a powerful web framework built with Kotlin, offers a lightweight and flexible solution for building web applications. In this article, we will guide you through the process of creating a Ktor project manually using Gradle and SDKMAN!. By following the steps below, you'll have a basic Ktor project up and running in no time.
-
What are good examples of well written code in Kotlin (e.g HTTP4K)
Ktor (Microservices framework by JetBrains)
-
Akka-HTTP in android
For Android you should use a more mobile friendly framework like Retrofit or if you use Kotlin you can use the multi-platform Ktor library with it's client module
-
Anyone here who uses compose-multiplatform for desktop apps, what’s your feedback?
And last but not least, Ktor Client as our HTTP client. https://ktor.io/ It's a pretty amazing http client library and integrates well with Kotlinx serialization and Coroutines.
-
Which JVM Language Would You Choose for a New Server-Side Project?
Kotlin is going to be great with almost every single JVM server. Spring works well with Kotlin, and is directly supported, but spring is also massive, very bloated. I recommend looking at https://github.com/ktorio/ktor which continues to serve all of my needs very well, integrates fantastically with Kotlin coroutines, and has very fast startup time and very good performance.
-
Exposed RSQL Search Implementation
For the sake of the test, we use Ktor - the easiest way to do so is to use initializer.
-
Learning materials for Spring Boot and/or Quarkus
I know you are looking for Spring Boot and/or Quarkus, but have you tried ktor. Just curios if you had a particular reason for choosing the other 2. Disclaimer: I haven't used ktor.
-
Tech-stack for web application using Kotlin?
Check https://ktor.io it's from JetBrains and amazing.
- PFA vs SRL
-
Adopting Kotlin Multiplatform Mobile(KMM) on 9GAGÂ App
Network, API - Ktor
What are some alternatives?
Quarkus - Quarkus: Supersonic Subatomic Java.
http4k - The Functional toolkit for Kotlin HTTP applications. http4k provides a simple and uniform way to serve, consume, and test HTTP services.
javalin - A simple and modern Java and Kotlin web framework [Moved to: https://github.com/javalin/javalin]
vertx-lang-kotlin - Vert.x for Kotlin
spring-native - Spring Native is now superseded by Spring Boot 3 official native support
Jooby - The modular web framework for Java and Kotlin
vaadin-on-kotlin - Writing full-stack statically-typed web apps on JVM at its simplest
apollo-android - :robot: Â A strongly-typed, caching GraphQL client for the JVM, Android, and Kotlin multiplatform.
hexagon - Hexagon is a microservices toolkit written in Kotlin. Its purpose is to ease the building of services (Web applications or APIs) that run inside a cloud platform.
Armeria - Your go-to microservice framework for any situation, from the creator of Netty et al. You can build any type of microservice leveraging your favorite technologies, including gRPC, Thrift, Kotlin, Retrofit, Reactive Streams, Spring Boot and Dropwizard.
spark-kotlin - A Spark DSL in idiomatic kotlin // dependency: com.sparkjava:spark-kotlin:1.0.0-alpha
kovert - The invisible REST and web framework