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
needmorewood
needmorewood2y ago
are you looking for something mature or something more new/shiny?
Lopen
Lopen2y ago
Matured with huge community wiling to help
needmorewood
needmorewood2y ago
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
Lopen
Lopen2y ago
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
Yoers
Yoers2y ago
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.
cje
cje2y ago
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
☘
2y ago
nestjs too
Lopen
Lopen2y ago
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
needmorewood
needmorewood2y ago
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
benten
benten2y ago
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
Lopen
Lopen2y ago
Seems fastify isn't for me then
needmorewood
needmorewood2y ago
totally fair, i wouldnt use it for a full framework either
Lopen
Lopen2y ago
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
needmorewood
needmorewood2y ago
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
cje
cje2y ago
go is a very different language from js and python
Lopen
Lopen2y ago
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
cje
cje2y ago
i think go mostly scales to how good you are at fundamentals because its a very "plain" language
Lopen
Lopen2y ago
Hope it's not a c++ kind of plain My fear is basically learning something that i will end up not using often
benten
benten2y ago
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
Lopen
Lopen2y ago
Already looking at a few courses the syntax looking kinda rust like
Yoers
Yoers2y ago
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
benten
benten2y ago
Yeah that's fair. Who knows if I'll find Go as productive as TS
Lopen
Lopen2y ago
No language can be as productive as TS🤣 Already seeing too many boilerplate in go
Want results from more Discord servers?
Add your server