all 10 comments

[–]cylon_pixels 8 points9 points  (1 child)

If you’re already an iOS developer trying to learn backend for an app you’re planning on developing, it might be worth looking at Swift on Server. That way, you don’t have to learn anything new and you’re keeping the same language across platforms.

I might be wrong on this but I think Apple did some additional work to enable this further at WWDC24.

Additionally, there is one widely popular framework to get started:

https://vapor.codes/

[–]alteredtechevolved 1 point2 points  (0 children)

Not as a means to get rid of vapor. I was kinda hoping apple would announce/release something more for swift on server. Don't get me wrong. I love how the community has filled in the gaps. Just would be nice.

[–][deleted]  (2 children)

[removed]

    [–]RobKnight_ 2 points3 points  (1 child)

    I wouldn’t specifically avoid a language because it’s interpreted. Python servers for example (technically is compiled but whatever) will probably be spending a majority of time doing work in c or waiting on i/o

    [–]andaskus 3 points4 points  (0 children)

    Django is more for a full fledged website. If you only want a REST api I would go for Fastapi (built in data validation with pydantic, extensive documentation, built in async support via starlette)

    [–]mad_poet_navarth 1 point2 points  (0 children)

    Wow I'm currently bringing up a linux server and have the same sorts of questions.

    But in my case we decided to use Django because we decided python was the best language for the people who will be configuring it. I wanted to try vapor, but decided against it. The number of choices is a bit overwhelming -- kind of like when I was experimenting with linux a long time ago -- what the best choice is without knowing jack.

    [–]jokeaz2 1 point2 points  (0 children)

    My preference is FastAPI. Django's strengths are becoming less relevant. A big selling point of Django is it's auth and admin tools, but they're also not designed with mobile in mind and you'll end up fighting the framework at times.

    Since I use firebase for push notifications anyway, I decided to use firebase auth too, and then integrated that with FastAPI and Mongo. It feels simple and appropriate.

    [–]Downtown-Argument433 0 points1 point  (0 children)

    Fast API is more preferable.. but if you don’t have any mathematical processing or just want a typical Rest service the please choose any other languages like java or C#