4 ms·
I don't think a clean division into two categories "document" and "application" will work. It's more of a spectrum than a binary, a lot of things exist at vari
by jrochkind1 6y ago
I don't think a clean division into two categories "document" and "application" will work.
It's more of a spectrum than a binary, a lot of things exist at various points in between "completely document" and "completely app". Even wikipedia has editing interfaces which are arguably "app" right? I guess it could be split into two separate "things", one using the "document web" for display and another using the "application web" for editing. This doesn't seem all that appealing.
I think the ability to be wherever you want on the document/application spectrum, and have a site (or a part of a site) move along the spectrum over times without having to "rewrite in a new technology" is part of what leads to success of the current web as it is.
The OP is probably not wrong that it's also part of what leads to the technology mess. But I don't think it's realistic to think you can bifurcate the architecture for two ideal use cases like that.
- frank2 6y ago>I don't think a clean division into two categories "document" and "application" will work. Do you also believe that there can be no clean division into "data" and "code"? If a program I wrote is interacting with an API, is it not completely unambiguous for me to ask the maintainer of the API to give me some way to directly read all of the persistent data behind the API?
- jrochkind1 6y agoSure. I specifically don't think it's realistic to think the architecture of the web can be divided into two separate architectures, one for web sites that are purely "documents" and another for websites that are purely "applications". Because I think the success of the web has been due to the fact that you can move along the spectrum from more "static document" to "interactive application" with the same technologies and architectures. I don't think it's a general principle about "data" and "code" in general", although of course data and code can also slide into each other in many other venues. But of course you can write programs that access APIs. I'm sorry if I was unclear and you thought I was saying it was impossible to write programs that access APIs to get persistent data.