Unironically this. The fastest “web apps” I’ve seen that weren’t absolutely required to be javascript-heavy to operate by virtue of what they do, have been mostly or entirely rendered server-side and have just sent entire pages for most interactions. Still performed better than 99% of webapps.
What aspects of Django do you think still stand out compared to Phoenix? It seems like a very solid framework, specially with the recent release of Phoenix LiveView 1.0, which seems like a pretty solid approach to frontend. For context, I’ve worked with Django before but didn’t particularly enjoy the experience—not because of the framework itself (its documentation, ORM, and admin tooling are excellent) but because I’m not a fan of Python, particularly its packaging ecosystem and approach to async, which I find lacking. I haven’t used Phoenix or Elixir before, so I’m curious to hear from someone who has experience with both.
Django is really thought out and polished in terms of devx.
Take ORM for example. You write a model and you get out of the box:
- migrations to create the model and to apply schema changes;
- form validation for crud;
- admin with permissions to edit it;
- helpers to get model by id or throw 404.
Phoenix kinda is in the same market, but you write your migrations yourself, admin panel is a package somebody slapped on top, etc.
It’s not that Phoenix isn’t usable, but getting on that level takes time and effort