AstonJ

AstonJ

What are your must-have web framework features?

Or which features of current frameworks you use you feel you couldn’t live without?

Most Liked

dimitarvp

dimitarvp

Ability to degrade gracefully in the absence of JS

Still something that is missing from most web projects out there. Not cool. This is not only about surveillance, ads, trackers etc. – sometimes people are legitimately out and about (say on an archaeologist site) and they should be able to opt out of JS and the Web should be able to [minimally] serve them.

I’d like to see more frameworks allow something along those lines. Some of the app’s artifacts and functionality could be described with something akin to Rails / Phoenix templating language that varies its outputs depending on if the user’s browser has enabled JS.

ohm

ohm

I don’t think it needs much, but an ORM is definitely on the must-have list.

connorlay

connorlay

Web frameworks are difficult to get right in my mind. You want them to be prescriptive, so you benefit from shared conventions when moving between projects, but flexible so you do not become restricted by the framework if your application moves in a direction counter to the framework itself. Ruby on Rails is a good example of a framework that has strong conventions, but can be a pain when you start to fight it.

I’ve been impressed with the care taken towards the Phoenix framework to keep things modular, as to avoid framework bloat, but also batteries (mostly) included for rapid iteration in the early stages of the project.

Where Next?

Popular Backend topics Top

New
AstonJ
Consider this Erlang code: Rectangle = {rectangle, 20, 10}. {rectangle, Width, Height} = Rectangle. > Width. 20 > Height. 10 When...
New
finner
Just wondering how many devs out there are using Spring Reactive, specifically WebFlux?
New
New
First poster: bot
About Self Self is a prototype-based dynamic object-oriented programming language, environment, and virtual machine centered around the p...
New
Jsdr3398
I’ve recently become interested in Elixir and all it’s neat perks. And since I’m currently working on a messaging platform; elixir seems ...
New
Jsdr3398
I just thought of this. Are there any disadvantages when making your server in Assembly (other than having to learn a bunch of stuff :ro...
New
kelvinst
I have being some Elixir open-source contributions and side projects. Oh, and I’m doing them on livestreams on my twitch channel, follow ...
New
mafinar
Hello folks! We had a pretty fun thread here around the same time last year - talking about Advent of Code problems. That also happened t...
New
apoorv-2204
Hi everyone, I’m considering pursuing the Elixir/Erlang certification exam offered by Erlang Solutions and wanted to check in with the c...
New

Other popular topics Top

ohm
Which, if any, games do you play? On what platform? I just bought (and completed) Minecraft Dungeons for my Nintendo Switch. Other than ...
New
axelson
I’ve been really enjoying obsidian.md: It is very snappy (even though it is based on Electron). I love that it is all local by defaul...
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
Thanks to @foxtrottwist’s and @Tomas’s posts in this thread: Poll: Which code editor do you use? I bought Onivim! :nerd_face: https://on...
New
New
AstonJ
This looks like a stunning keycap set :orange_heart: A LEGENDARY KEYBOARD LIVES ON When you bought an Apple Macintosh computer in the e...
New
foxtrottwist
A few weeks ago I started using Warp a terminal written in rust. Though in it’s current state of development there are a few caveats (tab...
New
AstonJ
We’ve talked about his book briefly here but it is quickly becoming obsolete - so he’s decided to create a series of 7 podcasts, the firs...
New
AstonJ
If you’re getting errors like this: psql: error: connection to server on socket “/tmp/.s.PGSQL.5432” failed: No such file or directory ...
New
PragmaticBookshelf
Fight complexity and reclaim the original spirit of agility by learning to simplify how you develop software. The result: a more humane a...
New