Flask/Python Web Framework vs Elixir-Phoenix

As someone who spent 5+ years building and deploying Flask apps and then tried to get into Elixir / Phoenix I would say the biggest difference is the lack of official libraries from vendors in Elixir.

Depending on what you’re building this might not be a big deal but most apps I build end up requiring payments and right now that situation in Elixir is light years behind Python.

Stripe, BrainTree and Paddle all have very good Python support with official clients, tons of docs and tons of implementation resources on the internet.

With Elixir you’ll have to implement all of this stuff on your own. The 3rd party library world for this isn’t too hot either. Basically depending on what you’re doing this could add months of dev time to your project where you get all of that for free immediately with Python.

I wouldn’t worry too much about the real-time stuff either. With Hotwire Turbo being a thing, it’s quite easy to get partial page updates going and other real-time components in any tech stack (Flask included). I’ve implemented some of that in Flask apps already and it was great both from both a performance and development experience POV.

4 Likes