backend stack suggestions
Hello good day I am trying to build a new project and looking to explore new stuff
Like languages and frameworks
This web app will be real-time with websocket stuffs
23 Replies
are you looking for something mature or something more new/shiny?
Matured with huge community wiling to help
probably laravel then
rails has the maturity and the core rails stuff will get you very far but many of the 3rd party stuff is getting out of date
both have good WS stories built into their framework from what i can tell
as for tha languages themselves they do feel like a step back to something like full end to end type safety
GO ecosystem could be a nice in between in that sense but i havent personally looked too far into it yet
I have worked with laravel not actually coding just messing around with existing codes though it's nice
But rails just looking at the learning curve
What have you worked with?
Node + socket IO is a great DX, and if you're already familiar with JS (as I assume you are finding yourself here) seems like the obvious choice.
Golang is nice also performance wise, I use it in my day job, but just not as productive as the above.
i would suggest fastify with socket.io or build something in golang
whats the actual best choice is gonna differ enormously based on a million different factors
but all the suggestions so far seem reasonable
nestjs too
I feel the performance topic is usually over rated
Developer experience should be above all
Because most time you won't observe it except your benchmarking
Does fastify handle things like session, etc or all am getting is a bareboone and i will have to plug in 3rd party services
they have a lot of first party plugins, here https://www.fastify.io/ecosystem/
its more of a build your own backend type thing.
in your specific question https://github.com/fastify/session
I’d look at Go
Mature and sane ecosystem, very useful skill to have
The more I use JS the more I want to use something else for backends and use JS as little as possible
Seems fastify isn't for me then
totally fair, i wouldnt use it for a full framework either
Seems its high time a look at go
But i pray it doesn't end up like my python knowledge over 3yrs writing python then i moved to javascript and basically forgot almost all
does go have an all emcompassing stack?
lmao fair, django is in the realm of laravel and rails as well i think, a bit newer but i think the supports there
just dont do .net
love urself enough not to
go is a very different language from js and python
What's the learning curve in go like for someone with good programming background
Because i pick javascript up in 1 week due to my good understanding of python
i think go mostly scales to how good you are at fundamentals
because its a very "plain" language
Hope it's not a c++ kind of plain
My fear is basically learning something that i will end up not using often
It’s C with garbage collection and concurrency sort of plain
You could pick it up in a weekend and decide if you want to continue with it
Already looking at a few courses the syntax looking kinda rust like
Definitely useful to learn a statically typed language (albeit typescript is pretty much there these days). Go has some nice paradigms around error handling, concurrency, and the way polymorphic code is so easy to write, due to how you implement interfaces.
However I must say I still love writing TS on my side projects, just personally feel much more productive in it
Yeah that's fair. Who knows if I'll find Go as productive as TS
No language can be as productive as TS🤣
Already seeing too many boilerplate in go