3 ms·
This is good advice. Django, for example, isn't the hottest tech on the block by far, but that's not necessarily a bad thing. Where some see bloat, others see m
by srik 5y ago
This is good advice. Django, for example, isn't the hottest tech on the block by far, but that's not necessarily a bad thing. Where some see bloat, others see maturity. There are a lot of QoL features like the ORM, forms etc. etc. that make django a very stress-free option. Also, HN sometimes has a derisive attitude towards turbo-like variants, but still, `htmx` is an objectively good pairing with django as well. It's not quite the same as a framework that has web sockets built in, like say Phoenix+LiveView but I'm not completely sold on that anyway. IMO lingering web sockets have an associated cost that hasn't been fairly considered yet.
All that said, my personal favorite CRUD backend is absolutely servant, but will admit that haskell can be a deterrent to some.
Note since I mentioned Phoenix: It might be suitable to you OP, it doesn't necessarily need things like external static hosting, caches, task queues etc and with LiveView can accomplish plenty without surrendering the front-end to a javascript framework. Look up the emerging PETAL stack, it might be of interest. P(Phoenix) E(Elixir) T(TailwindCSS) A(AlpineJS) L(LiveView).
- ducharmdev 5y agoI feel the same way about using websockets to get SPA-like interactivity; Blazor Server in the .NET world is similar. htmx peeked my interest though, as I can see the appeal of the LiveView/Blazor/Hotwire approach, but would still prefer inexpensive HTTP requests for most use-cases.
- giancarlostoro 5y agoDont forget Blazor works on the client too via WASM. As for expensive, the claim to fame for Liveview is that it is very minimalist over the wire. It is not sending html chunks like in standard AJAX from the mid 2000s.
- hereforphone 5y agoCan this be done while substituting Elixir for Erlang?
- srik 5y agoPhoenix is written in Elixir, so definitely not a 1:1 mapping, but because of the underlying BEAM VM, most of what makes Elixir robust should in theory also apply to Erlang. Apart from OTP which is amazing, I don't know anything at all about the Erlang web framework scene though, sorry.
- MathCodeLove 5y agoOTP predates Elixir and stems from the creation of Erlang. The only real difference between the two is that Elixir has a nicer syntax and some higher level abstractions. Cowboy is a decent Erlang web framework.