5 ms·
History repeats itself. We had Flash. It was amazing back then. After while, people realized that Flash is actually against core philosophy of web - easy inform
by finchisko 7y ago
History repeats itself. We had Flash. It was amazing back then. After while, people realized that Flash is actually against core philosophy of web - easy information sharing. Flash sites were poorly indexed by search engines, power hungry and with lot accessibility issues.
Not qt is trying to do basically same what Macromedia did with Flash. Enable rich binary components on a web, with exactly same issues Flash had.
Don't take me wrong, webassembly is great, so is qt. Maybe you can create very specialized electron app with that, but please don't overuse it for generic web content.
- pjmlp 7y agoThe core philosophy of the Web is interactive documents. That was lost the moment the powers to be, decided it should compete with OSes as application platform.
- tenaciousDaniel 7y agoI'm not very knowledgeable on this topic, but it seems weird that WASM files would need to be loaded into an html page in order to render. I would like to see a future where you can just open a WASM file in the browser and it will compile/render to the screen as an application. This would alleviate the pressure put on html pages to behave as if they're something they're not. It would let html go back to, as you say, its core responsibility, which is to be an interactive document.
- Data_Junkie 7y agoWell you got the whole search and discover issue.
- danShumway 7y agoMy 'hot take' I've had for a while is that most applications, including native ones, are just interactive documents. I can count on one hand the number of native apps I use that couldn't have their interfaces trivially represented by HTML and CSS. If you're not building Blender, Photoshop, or Maps, odds are pretty good that your native app is just a document. And even in the case of apps like Photoshop, only the main view is special -- everything else is just menus and toolbars. People draw a hard line between a document and an app, and I've just never been able to see that line.
- shaan7 7y agoIf I were able to not see that line, my life will be a lot easier, maybe you can help me with it. Can you try to define, in your head, what do you call a "document"? (Doesn't have to be a mathematical definition) P.S. Just in case it does sound like it - no, I'm not trolling. That ^ is a genuine question.
- danShumway 7y agoIt's not my intention to be terse or dismissive, but I'm going to give a very short, incomplete answer because a long one would take too long for me to write. I would need to think a lot more to come up with something more descriptive. If I can translate your application's current state to an org-mode document (or any other hierarchical document format) without losing any significant information, then your interface is an interactive document. Maybe your backend is better suited for C, or needs native capabilities or something. I don't care about that. The actual interface itself is just hierarchical information. HTML is just a way of organizing information into a tree. It's not a layout tool (even though some web devs treat it like one), it is a display format. CSS is the incidental styling that gets applied on top of that format. For example, I have KeepassX sitting open in front of me. It has a row of buttons on the top, a tree view, and a currently selected record in a table. Very roughly, the HTML equivalent of that is: <ul class="toolbar"> <li>Open Vault</li> <li>Save Valut</li> <li>Add Record</li> <li>Edit Record</li> <!-- etc... --> </ul> <ul class="folders"> <li>My Passwords</li> <!-- etc... --> </ul> <table class="entries"> <tr> <th>Title</th> <th>Username</th> <th>URL</th> </tr> <tr data-selected="true"> <td>Some Site</td> <td>danshumway</td> <td>somesite.com</td> </tr> </table> When I click one of the entries in that table, I'm taken to a new interactive document (basically a form) that has some fields I can change to edit my password. At no point in KeepassX do I ever see a state that couldn't be described purely in a format like org-mode. So now I try to resize KeepassX, and when it gets to below about 400-450 pixels, it refuses to get any smaller. It's not responsive. This is because it was written in some native format that was only thinking about grids and pixel-perfect positioning, and the idea that rendering content was a different concern than rendering style never occurred to anybody. A number of native formats like GTK already use XML to lay out their interfaces. The only difference is that they're using XML as a layout tool and not as a display target. But for an app like KeepassX, rendering to an XML-like format would be a strict improvement over whatever the heck it's doing now.
- oscargrouch 7y agoThis is my feeling too. 'This ship already sailed' It was the fight to turned the document, information transparent world of the web into a application you run on the browser where you dont care about the output as a information piece, but only how the pixel have rendered. The browsers themselves together with the companies that drive them, killed the web on its conceptual level, and now the browser is just a multi-platform engine to render apps that are located in remote servers (and lets not forget how they will push for cloud stack here, given the profits it will make for them). The web got corrupted into its core concepts, and now is just a shadow of its former self.