Elektrine lite

← Feed

@moh_kohn@mastodon.scot

Post #3256802

2026-06-10 11:10 UTC

Blogged about the time I doubled our users by doing proper engineering instead of React slop https://www.mohkohn.co.uk/writing/html-first/

Replies (20)

  • @moh_kohn@mastodon.scot 2026-06-10 11:10

    Hey if you would like a cantankerous old man to double your users with the power of proper engineering, you could even hire me

    Open ##3293595

  • @GoteerTxuria@derg.social 2026-06-10 13:03

    @moh_kohn@mastodon.scot Just a heads up for the site: I don't know what happened, but I cannot read your site using waterfox nor firefox. (Ungoogled) Chrome works fine. Might be my heavily themed OS, just check on firefox and if fine carry on!

    Open ##3293596

  • @kayla@gts.eilhart.cz 2026-06-10 13:07

    @moh_kohn@mastodon.scot I love statically generated sites with as little JavaScript as possible. There's something calming about a website that just loads in a blink of an eye and no clutter, just ... Information. I unfortunately use corporate tools which often send many megabytes of data just to display ... A table with twenty values. And it takes sometimes tens of seconds on an up to date computer and gigabit connection. And no, the backend database and logic is not the bottleneck.

    Open ##3293606

  • @summertime@aus.social 2026-06-10 13:19

    @moh_kohn@mastodon.scot “but that’s a lot more work for us.”, I remember back in my ol' day, using stuff like WTForms and the such. Server side libraries that took in the request data (or other such things) (if any) for any pre-existing filled form info, and in return, gave a form structure with HTML and validation and this and that for what it needed (if anything), or for validation error information (if any), handled it all, all server side, in a couple of function calls. Feels weird that that approach has mostly fallen off of everyone's radars.

    Open ##3293607

  • @lanodan@queer.hacktivis.me 2026-06-10 13:22

    @moh_kohn@mastodon.scot > He was appalled and said, “but that’s a lot more work for us.” Could it even be? Because with building things that way there's much less dependencies and so much less churn (if there's even any, like vanilla JS pretty much doesn't breaks).

    Open ##3293608

  • @TimWardCam@c.im 2026-06-10 13:29

    @moh_kohn@mastodon.scot "... a housing benefits office ... They are singularly unlovely places." I walked into our newly refurbished housing benefits office (it did other things as well) as a new councillor. "Hey this is good," I said, "it's decorated well enough to show that the customers are respected but not so well that it looks like we're flaunting our excessive use of public money." "Yes," my guide said, "that was the design brief."

    Open ##3293611

  • @leberschnitzel@existiert.ch 2026-06-10 14:30

    @moh_kohn@mastodon.scot “but that’s a lot more work for us.” something like that always makes me think: could someone make a tool that reduces the work for the maintainer?

    Open ##3293612

  • @beaiouns@is.nota.live 2026-06-10 14:47

    @moh_kohn@mastodon.scot the irony of having to disable CSS to read the article was not lost on me :ms_rofl: edit: damn, i wasn't even the first one to comment on this. my screenshot is from mullvad's browser FWIW

    Open ##3293614

  • @Brokar@mastodon.social 2026-06-10 14:48

    @moh_kohn@mastodon.scot Every web developer should read this! I usually use NoScript to browse (safety first) and i loathe websites which don't show anything without javascript. You don't need an overloaded engine or framework to display some text and some images. That can be done with simple CSS and HTML. The motto should always be "customer first". If that results in more work, then so be it. That's what the employer pays you for.

    Open ##3293615

  • @feld@friedcheese.us 2026-06-10 15:06

    @moh_kohn@mastodon.scot not a single screenshot of the site? 😭

    Open ##3293616

  • @joriki@infosec.exchange 2026-06-10 17:33

    @moh_kohn@mastodon.scot nice to see the quoted article living its best life good on you

    Open ##3293617

  • @DanOpcode@mastodon.social 2026-06-10 18:59

    @moh_kohn@mastodon.scot thanks for sharing, excellent read

    Open ##3293618

  • @jomo@mstdn.io 2026-06-10 22:53

    @moh_kohn@mastodon.scot it's crazy how this reads like you're digging out some ancient forgotten technology. Probably because it is :(

    Open ##3293619

  • @moh_kohn@mastodon.scot well done. Now, where's my Netscape.

    Open ##3293620

  • @bthylafh@nerdculture.de 2026-06-11 05:08

    @moh_kohn@mastodon.scot This is the way.

    Open ##3293621

  • @EF@mastodon.bsd.cafe 2026-06-11 08:18

    @moh_kohn@mastodon.scot we [the world] needs far far far more of this as far less of the JS/CSS shite we are forced to endure.

    Open ##3293622

  • @kaneel@mas.to 2026-06-11 08:31

    @moh_kohn@mastodon.scot brilliant, remind me of everything I loved doing ten years ago.

    Open ##3293623

  • @64kb@icosahedron.website 2026-06-11 09:39

    @moh_kohn@mastodon.scot lovely. Re: the coda - it really does seem like heavily optimisations die with the next developer (or it's been my experience of the last 3 things I've done something like this). Most people seem completely unattuned to this stuff.

    Open ##3293624

  • @severtz@mastodon.online 2026-06-11 21:04

    @moh_kohn@mastodon.scot I've always thought 50% of databases could be files in a filesystem (especially if they support links). Simplicity rules! KISS

    Open ##3299106

  • @moh_kohn@mastodon.scot you people are just calling anything slop nowadays huh

    Open ##3304056