For the record, my motivation is two-part:
- Mostly, I'm just curious if such a thing is possible
- But additionally, I find it slightly horrifying that browsing the web today requires multiple gigabytes of RAM--and I attribute much of that bloat to the operating system-sized browser runtime (and associated sandboxing) that supports
Unrelated to this project, I'd like to mention a service I ran across recently: SourceHut. It provides project hosting with two notable (and tangentially related to this article) features:
- Many features work without an account
I'll admit I'm a little jealous that I didn't come up with this idea myself. It seems like the sort of thing the software development world needs these days.
But back to the task at hand...
to the rescue!
Having said that, form submission reloads the entire web page, so the experience is decidedly seamful. Additionally, form submission is user-initiated, so there's no way for the application to update its UI in the absence of user input.
Can we do better?
Potential solution: chunked transfer encoding and frames
appendages chunks that are appended to the page.
So does it work?
I don't know! But I'm planning to find out, so stay tuned...