Maybe we need to acknowledge that you can't seperate them as they both exist with a need to produce HTML. But instead position the html closest to who it best serves and let them inform the other side. IE JS is most concerned with html as it interacts with it more where as the server only needs to really produce it once.
IMO your take is the worst take on this issue.
Ok I will bite. in the realm of desktops, what is the "backend"?....
But also lets assume you are talking about c/rust what ever code. Then you saying that because qt/gtk does not generate something for that code that is equivalent? This is such a reach. First The c code does not need to render a initial output before qt or gtk kicks in for starters. sounds like you just want to boil the ocean. F it, lets reinvent TCP everyone...
Also just gonna put this out there, what is your web agent if not a desktop app...
But really I can't even with this. I'm looking for sensible solutions to this real problem. I guess throwing your hands up and saying everything sucks is an option but I don't have time to think like that.
Calling the server distribution is an over simplification of the issues. To this point we should only use the browser in the terminal, but even when its just text it still has to "format" it's content.
this the problem, who owns the "formats" for the content in a system where many sub systems needs to be aware of "formatting"
If the server didn't have to be aware of the html at all and it was only ever just raw data I would agree with your view.
mikece•3mo ago
Wouldn't that be like a ViewModel in MVVM?
fullstacking•3mo ago
fullstacking•3mo ago
fullstacking•3mo ago