I hate modern frontend with its #JavaScript frameworks zoo, with people not even wanting to learn semantic #HTML and making their disgusting design with two tags, <div> and <span>, like uneducated parrots knowing only two words. I totally understand why things like Turbo, Stimulus and HTMX exist, I wish they were more spread in the web though.
Oh yeah, and I want a #backend job.
Oh yeah, and I want a #backend job.
Kirill
in reply to André Polykanine • • •Svenja
in reply to André Polykanine • • •André Polykanine
in reply to Svenja • • •aaron
in reply to André Polykanine • • •André Polykanine
in reply to aaron • • •Andre Louis
in reply to André Polykanine • • •André Polykanine
in reply to Andre Louis • • •Andre Louis
in reply to André Polykanine • • •aaron
in reply to André Polykanine • • •André Polykanine
in reply to aaron • • •html.push('<div>...');
Also, there is a PHP file that contains 12 thousand lines (I'm not making it up!) where you also have HTML and JS, right in that file, with echo of course.
And I'm supposed to understand all of that in a week and add a feature.
Oh, and of course, what you get is absolutely not accessible, or almost.
aaron
in reply to André Polykanine • • •André Polykanine
in reply to aaron • • •Andre Louis
in reply to aaron • • •Mikołaj Hołysz
in reply to aaron • • •@fireborn @FreakyFwoof @svenja WHy is PHP always like this?
I have friends who work in that language, and most of the dev horror stories I hear revolve around that language somehow.
In supposedly overengineered, modern stacks, that sort of thing seems a lot less common.
André Polykanine
in reply to Mikołaj Hołysz • • •Mikołaj Hołysz
in reply to André Polykanine • • •André Polykanine
in reply to Mikołaj Hołysz • • •Mikołaj Hołysz
in reply to André Polykanine • • •@fireborn @FreakyFwoof @svenja Yes, especially the pre-react, pre-ES6 jQuery madness.
To make matters worse, a lot of the apps that are like this don't even minify their JS, which can get pretty embarassing for the company in question if any competent dev ever takes a look.
André Polykanine
in reply to Mikołaj Hołysz • • •You know why?
Because… hold your breath… It's not jQuery, it's something called Ender.js.
Svenja
in reply to André Polykanine • • •André Polykanine
in reply to Svenja • • •Klaus Stein
in reply to André Polykanine • • •Fully agree.
If you are programming a highly interactive web app (e.g. an interactive map or a game) I am completely fine with using JS. But most webpages can be very nicely usable without JS¹ with properly used html and css (and much faster too!).
And: a web page should not use _any_ CPU, if it is just open and I don't interact with it at all.
__
¹or a few bits of optional one