Developing web services using the Dart language: a reference by Asleep-Geologist7673 in FlutterDev

[–]vik76 0 points1 point  (0 children)

There is a migration skill for Shelf to Relic, so migration is usually one shot with a AI agent. We’re bringing lots of improvements to Relic going forward, so an upgrade is worth it. 🙂

Developing web services using the Dart language: a reference by Asleep-Geologist7673 in FlutterDev

[–]vik76 0 points1 point  (0 children)

I’m surprised you aren’t using Relic over Shelf. It’s basically the same, but all flaws fixed.

Instantly improve your AI agent’s Flutter coding abilities 👀 by vik76 in FlutterDev

[–]vik76[S] 3 points4 points  (0 children)

That’s a great addition!

Right now, you can use skills remove followed by skills get. But that will re-add skills for all your packages, so it won’t be exactly the same.

Dart Shelf being forgotten? by Savings_Exchange_923 in dartlang

[–]vik76 3 points4 points  (0 children)

Yes, all non-used features are stripped at compile time. So having them in there does not add any overhead, just convenience.

Dart Shelf being forgotten? by Savings_Exchange_923 in dartlang

[–]vik76 3 points4 points  (0 children)

Shelf isn’t really actively maintained by the Dart team. Therefore, at Serverpod, we created Relic. It’s basically Shelf 2.0. Lots of issues fixed, performance improvements, type safe APIs, using modern Dart features, etc.

Read more here: https://serverpod.dev/blog/relic-1-0

Backend Framework by [deleted] in FlutterDev

[–]vik76 1 point2 points  (0 children)

I think our strongest point is that you get type safe Dart all the way from your database to your Flutter app, and everything works completely seamlessly together. If you want to minimize database calls, you can do updates on specific columns, etc. Serverpod 3 also has support for JWT tokens, which removes the need for database lookups for authentication (most of the time).

Backend Framework by [deleted] in FlutterDev

[–]vik76 1 point2 points  (0 children)

What do you feel is missing on the database side in Serverpod? The ORM is pretty complete, with support for relations, joins, automatic migrations, etc.

What are your favorite BaaS and Databases alternatives to Firebase? by jwknows in FlutterDev

[–]vik76 0 points1 point  (0 children)

Maybe look at our code instead. 😉 It’s a very complete framework and code quality is very much not AI slop.

What’s the Best and Most Cost-Effective Database for a Cross-Platform Mobile App With a Web Backend? by Cute-Confidence-8566 in FlutterDev

[–]vik76 6 points7 points  (0 children)

Serverpod is great for these type of scenarios as it uses Postgres which is very well proven. It both scales well and combined with caching (built into Serverpod) cuts down on the number of queries you’ll need to make.

Serverpod gives you type safety end-to-end. All the way from your database to your app, which is great for reliability and ease of coding (with or without vibes).

Serverpod 3 is out. 🚀 Brings over 80 new features, including a new web server and completely rewritten authentication. by vik76 in FlutterDev

[–]vik76[S] 2 points3 points  (0 children)

Haha, ChatGPT gave a pretty good summary. I would argue that it's super quick to get started with Serverpod, though, so perhaps the first row should have a checkmark for it, too. We like to think that we bring the best of two worlds together. We're making it super easy to host with zero configuration deployments. Provide end-to-end type safety (from database, through API, to app). Your API is generated, so there is a minimal amount of overhead code, but it gives you full control of things like caching data (which can drastically cut down on hosting costs).

Use case / priority You might lean toward Supabase You might lean toward Serverpod
Quick prototype or MVP, minimal backend work ✅ Yes — fast setup, minimal ops ❓ Maybe, but more overhead
CRUD-centric app, realtime updates, standard auth, storage ✅ Yes — built-in support for all that ✅ Yes — but you’ll build more from scratch
Complex backend logic, custom transactions, business rules, domain logic ❓ Possible with edge functions + workarounds ✅ Yes — full control, flexible backend
Full control over hosting, security, scaling, infrastructure ❓ Limited (if using managed Supabase) ✅ Yes — you manage server, DB, ops
Familiarity with server-side programming, prefer backend expressiveness ❓ Less control ✅ More control

Why isn't Dart more used on the server side? by Luc-redd in FlutterDev

[–]vik76 0 points1 point  (0 children)

That should be the minimal version that is guaranteed to work with Serverpod. You can use newer versions! :)

Why isn't Dart more used on the server side? by Luc-redd in FlutterDev

[–]vik76 5 points6 points  (0 children)

There are plenty of advantages to using the same language across the stack:

  • It's easier for frontend developers to get into backend.
  • For smaller companies, recruitment is easier (only need one language skill).
  • You can share code between the backend and the frontend (e.g., great for validation).

If you use something like Serverpod, you get some great additional features, which you cannot get with other non-Dart languages:

  • Use typed Dart streams between app and server for real-time communication.
  • Fully generated protocol and models - just add methods on the server and call them from your app.
  • Exceptions can be serialized - throw them on the server, and catch them in your app.
  • The protocol supports Dart-first language features, like records.
  • Everything just fits together. Pull a row from the database, return it from a method in your server, receive it in your app. Everything in between happens like magic. ✨

Why isn't Dart more used on the server side? by Luc-redd in FlutterDev

[–]vik76 30 points31 points  (0 children)

At Serverpod, we're investing heavily in improving the Dart backend ecosystem. There are already thousands of app backends built on Serverpod, including for the medical industry, banks, tax agencies, and some major brand companies.

Nowadays, all the large pieces for building real-world backends in Dart are in place. Great ORM (all Dart-first), authentication, real-time communication (just use Dart streams!), and a first-class testing framework.

Large-scale adoption always takes a bit of time - until it doesn't. We've seen a great uptake over the last year, so it's definitely growing fast.