4 ms·
Why not just deploy X windows and run the browser on the server as well? (Pun semi-intended)
by gumby 5y ago
Why not just deploy X windows and run the browser on the server as well?
(Pun semi-intended)
- funcDropShadow 5y agoLet's take this question serious for a moment. Modern X applications render bitmaps which get shipped over the compositor and the X server to the graphics card driver. That is not a good model for the web, because it would mean the web server has to produce rendered bitmaps, specific for the fonts, window size, and display panel led configuration over the web. The browser cannot even select text or provide a search dialog. That is almost VNC. But originally, X applications didn't render bitmaps but submitted drawing calls. Sun used to use Postscript for that. So using that approach, it would be possible for the browser to select text, to scroll, to copy text, to search text etc. A clear improvement. But resizing the browser window would still need a complete re-transmission from the server. But if the web server sends static html, css, and a fixed JS library, which is used to replace parts of the dom, the browser can do a lot more locally. And still the whole application logic resides on the server.
- skocznymroczny 5y ago> because it would mean the web server has to produce rendered bitmaps, specific for the fonts, window size, and display panel led configuration over the web. The browser cannot even select text or provide a search dialog. That is almost VNC. So not much different than "modern" <canvas> based apps.
- notamy 5y agoYou mean like https://www.mightyapp.com/ https://www.mightyapp.com/ ?
- floatboth 5y agoHeh, GTK has a "Broadway" backend for running in a browser, though I don't think WebKitGTK will work on it…
- pjmlp 5y agoBecause it isn't cool, so now we do cloud shells and browser, instead of SSH and X Windows/RDP/VNC.
- pklausler 5y agoBecause the "server" and "client" names would be reversed.
- gumby 5y agoIn this case it would be a server at each end so you could claim that all computation and rendering was "done on the server"