3 ms·
I like to imagine a flipped scenario, where the content, style and interaction are even further separated; allowing better inter-app sharing of each aspect. For
by sprobertson 15y ago
I like to imagine a flipped scenario, where the content, style and interaction are even further separated; allowing better inter-app sharing of each aspect. For example, if the content of your blog just came through in JSON, I could very simply quote your post on my blog, with my layout & style. It seems that compiling it all to binary would make sharing harder instead.
- evincarofautumn 15y agoBut if all web applications were to serve content as meaningful objects, then the underlying format could be anything, so long as it were standardised. VMs could transmit everything as JSON if they so chose, but they might as well use a binary format because no human need ever see it. If all applications are communicating using the same abstractions, then it doesn’t even matter what language they’re written in. My site can be written in Haskell and it’ll serve blog entries just as well to Haskell on the Firefox VM on Windows as to Ruby on the Chrome VM on a Linux toaster. And we never need to agree on an interchange format, because that’s the VM’s job.