White spaces in trick many into writing complex — web development is trollish that way. Firefox’s developer tools show generated white spaces! Hopefully your abstraction is munging HTML faithfully. It’s easy to fight white spaces without realising it. That generally leads to using unsuitable display types and other shenanigans.
WordPress rants are a joy to read, but where’s the simpler, safer replacement? Never forget that software is highly corporatized and mostly crafted for corporations, not humans. WordPress sits among the few that mere mortals can work with and understand. The complete revival of static sites might save us, maybe.
Web servers can be spun up quickly on the command line but with gotchas.
Take the innocent web server .
php -S 127.0.0.1:8080
Best not to use PHP
’s web server cli
(even for PHP) because routes with a
dot (.) are assumed to be
static files. Use a real web server
or superior cli
web servers with minor gotchas.
python -m http.server --bind 127.0.0.1 8080
busybox httpd -f -p 127.0.0.1:8080
ruby -run -e httpd . -p 8080
I might try out the Fresh framework from
deno
to see if the hype is true hype.