XSukhpreet

XSukhpreet

What is your best back-end stack?

Mine is Firebase because it is easy to learn and fast .

Most Liked

Maartz

Maartz

Well I do like Elixir in the back end, with PostgreSQL.
For the architecture, I use Commanded at work. It was complicated to grasp at first but now it makes a lot more sense.

Not a great fan of document based databases.

For me Elixir’s solves all the problems I can encounter. Lately I’ve used GenStage to handle synchronisation on some events. I’m eager to see how it’d be handled in another language.

dimitarvp

dimitarvp

Have you checked Supabase?

OvermindDL1

OvermindDL1

I actively run a python flask server for over 10 years now. It started as a little one-off project that… accidentally ended up getting used in ‘production’ on one of the open source sites I host due to its immediate usefulness. I’ve always kept intending to either replace it with an actually well built setup or just remove it altogether for something prebuilt open source or for it to eventually just die due to no longer needing to be used, but the prebuilt things lack features I need so I’d need to rebuild most of the functionality anyway, and I’ve not got around to rebuilding it because I keep expecting it to “die in the next year due to no longer needing to be used”, but that’s been repeating for over 10 years now.

In essence the flask app has a fairly minimal user authentication system, using pyobject or whatever it was called as the very minimal ‘database’ (only stores user data, kind of…), and files get uploaded and commands fired on it to do ‘stuff’. The ‘stuff’ it does includes things like generating a full static site generated from files and metadata uploaded around the system and paths in a lot of… unique ways I’ve not seen in any other SSG (hence why I haven’t been able to replace ‘that’ functionality yet either, it would practically require rewriting them as well).

Flask is easy, but I really really dislike it, it’s been the bane of so many issues for me over time, with the most annoying of which being that it can only handle a single connection at a time (yes I have it behind a uwsgi server but I still have to serialize their access to the filesystem so only one SSG update happens at a time, and it doesn’t have a good way to sync that outside of just ‘running another program’ or variety of other annoying things) and it’s a bit irritating to update.

But yeah, if you want to spool up something really really fast and really really simple, flask is great at that, but honestly I’d just use rust + rocket or so nowadays anyway (excepting rocket’s utterly garbage websocket support, only works via it’s own channel interface so you can’t just plug in any generic websocket handler very very irritatingly, though its channel interface is very nice if you can work within it, modeled on Elixir’s Phoenix Channels interface, but like Elixir’s Phoenix Channels it breaks horribly if you want to do actual real websocket connections to other libraries or so). At least rocket (and phoenix) have ways to kind of work around that by just hooking in to their underlying server libraries (hyper/tower for rocket and cowboy for phoenix) but it feels really hacky in both cases which does contribute to both libraries feeling a bit hacky as well when you are forced to do that. But I like rocket as it’s very similar to flask in feel, but significantly faster, more well made, and even easier to use in a lot of ways, in exchange for having to compile before running it, lol.

For backend stacks, rust nowadays, absolutely, unless you need extreme horizontal scaling across machines then phoenix or so can be easier to handle (though the ‘traditional’ ways of sharding work fine in rust anyway if a bit more stuff to set up than something like phoenix, though rust will scale better on a single system regardless). Rust has a lot of backend libraries, and they are working very well together as well with things like tower and such becoming popular as an integration point across them all.

Popular Frontend topics Top

First poster: bot
Vue vs React: Best Choice for Startups. “I just have one question for you: Why Vue? I hope you’re not rolling your eyes thinking - “ah n...
New
First poster: bot
Why I Love Tailwind. Why Tailwind is blowing up, why I (the creator of styled-components) love it and how I avoid the downsides of atomi...
New
First poster: AstonJ
Welcome to the 5th edition of the JavaScript Rising Stars, our annual round-up of the JavaScript landscape! The concept is the same as b...
/js
New
First poster: bot
Hey! We’re getting really close to releasing React + Vue support for Tailwind UI, so I thought it would be interesting to share some of t...
New
First poster: bot
User-preference based media features, container queries, and media queries for new screen types, such as foldable screens, will enable us...
New
First poster: bot
JavaScript is a great programming language, but thanks to the fact that its initial release was built in only ten days back in 1995, coup...
/js
New
First poster: bot
CSS Fingerprinting is a technique of tracking and gathering information on site visitors. This method exploits the nature of CSS to track...
New
First poster: OvermindDL1
I have to admit: as I’ve watched Tailwind enthusiastically adopted by more and more of the frontend community, I’ve remained skeptical. B...
New
karolina.curiosum
Bumblebee & Stable Diffusion & Phoenix Live View meets in one place! Learn how to create a live prompt generating Stable Diffusio...
New

Other popular topics Top

AstonJ
Curious to know which languages and frameworks you’re all thinking about learning next :upside_down_face: Perhaps if there’s enough peop...
New
AstonJ
We have a thread about the keyboards we have, but what about nice keyboards we come across that we want? If you have seen any that look n...
New
AstonJ
There’s a whole world of custom keycaps out there that I didn’t know existed! Check out all of our Keycaps threads here: https://forum....
New
AstonJ
Inspired by this post from @Carter, which languages, frameworks or other tech or tools do you think is killing it right now? :upside_down...
New
PragmaticBookshelf
“Finding the Boundaries” Hero’s Journey with Noel Rappin @noelrappin Even when you’re ultimately right about what the future ho...
New
PragmaticBookshelf
Learn different ways of writing concurrent code in Elixir and increase your application's performance, without sacrificing scalability or...
New
PragmaticBookshelf
Build highly interactive applications without ever leaving Elixir, the way the experts do. Let LiveView take care of performance, scalabi...
New
rustkas
Intensively researching Erlang books and additional resources on it, I have found that the topic of using Regular Expressions is either c...
New
AstonJ
If you get Can't find emacs in your PATH when trying to install Doom Emacs on your Mac you… just… need to install Emacs first! :lol: bre...
New
AnfaengerAlex
Hello, I’m a beginner in Android development and I’m facing an issue with my project setup. In my build.gradle.kts file, I have the foll...
New