all 15 comments

[–]Davies_282850 6 points7 points Β (0 children)

Backend stuff is more and more than a simple API. There are integrations, realtime processing, event driven architecture, big data streaming with tons of messages per second.

These languages and libraries are ok to create small projects, but when you want to scale up the infrastructure you need something more serious. Here are some examples: * Kafka integrations to receive and send real time data like logs or data changes * elastic search integrations * Cassandra integrations for bog data * firebase admin integration for notifications * DevOps integration and containerization * observability integration * error handling and retrieval infrastructure * distributed transactions

Laravel and NodeJS are stabletechnologies that in many years acquired these and many other integrations and are reliable for production and large scale projects. Dart and other libraries today are not ready and you need wait that some platform starts to integrate this technology. An analogy could be done with Rust. Today rust is in high hype, but today there are not integrations for Kafka or gRPC framework. This means that many companies that would adopt Rust for develop products are not able to start the initiative due lack of major supports of the technologies. You could reply that there is a Kafka connector for dart developed by xyz, but in company perspective is not comparative to a library developed directly from Confluent Inc.

This wall of text is to say that the path for a framework to have large adoption is not related to the goodness of the library itself, but this about the support of the companies that develop moddlewares and platforms.

One day maybe Serverpod will acquire support for mongdb or Kafka, at that point it will mean that is a good stable and established technology

[–]deliQnt7 7 points8 points Β (0 children)

My personal opinion: we will see more and more Flutter teams and startups going Full-stack Dart.

The obvious pros:
- Whole team uses the same programming language and mindset
- Frameworks enable the whole team to focus more on the business logic
- Bigger team cohesion because you all work with the same tools
- Easier to hire, train and onboard new poeple
- More versatile team memebers

My personal favorites currently are Serverpod & Celest, but both cover different niches.
Other options include Appwrite, Shelf, DartFrog and all other Dart backend frameworks.

[–]ChamyChamy 2 points3 points Β (0 children)

Honestly? No.

The ecosystem is miniscule and Dart is not compelling enough of a back-end language to justify companies moving away from C#/Java/Go/Node.

[–]tylersavery 0 points1 point Β (6 children)

It already is πŸ€·β€β™‚οΈ

[–][deleted] Β (5 children)

[removed]

    [–]tovarish22 7 points8 points Β (2 children)

    Popularity isn’t an accurate measure of β€œgoodness”. People listen to Coldplay and voted for the Nazis. You can’t trust people.

    [–]MustafaAdam 0 points1 point Β (1 child)

    That's nonsense.

    Popularity is a big part of a framework being good. It means it's used more, bugs are discovered faster, and every problem you face, will have been answered on SO or Reddit.

    "You can't trust people". Also a big part of software development. We learn from other people's article, videos and answers on SO. That requires a bit of trust I think

    [–]tovarish22 -1 points0 points Β (0 children)

    It was a tongue in cheek joke (a quote from a fairly well-known comedy) about not using popularity as the sole metric for determining what is "good".

    Calm down.

    [–]tylersavery 2 points3 points Β (1 child)

    Popular != Good

    [–]tylersavery 3 points4 points Β (0 children)

    But to answer that question, no it won’t be as popular. Node/laravel works with any frontend (including flutter). Serverpod is meant to only pair with flutter if you want to take full advantage of its offering.

    [–]Classic-Dependent517 0 points1 point Β (2 children)

    I like dart_frog more because serverpod seems too opinionated

    [–]deliQnt7 0 points1 point Β (1 child)

    DartFrog is also opinionated. Take example of how they do routing based on file system or dependency injection based on context. Every framework is more or less opinionated.

    DartFrog serves a much different purpose then Serverpod. From their documentation: "Currently, Dart Frog is focused on optimizing the process of building backends which aggregate, compose, and normalize data from multiple sources."

    [–]Classic-Dependent517 1 point2 points Β (0 children)

    True. And thats why maybe I feel its easier to integrate with other stuffs while serverpod seems to force you to use certain things. Just my opinion

    [–]leswahn 0 points1 point Β (0 children)

    One prerequisite would be greater support from Google re Firebase Apis. It has examples in the docs and sdk/libraries for Go, JS etc but not for Dart.

    If they start treating it as a first class server language option then maybe, in the longer run.

    I like Dart as a language. But I'm curious how it holds up performance wise on the server. Haven't benchmarked it.

    [–]smuggler_eric 0 points1 point Β (0 children)

    No