Earlier quoted context omitted.
Isn't that what we have? JavaScript is a VM-based sandbox. The difference is that JavaScript has more ready access to the DOM, but Flash was also able to do that, it just used JavaScript as a bridge.
The point is that you didn't need DOM. You had a canvas to draw things on and to handle clicks in. Now you need the DOM either way and it's cumbersome. It feels like trying to build a UI in a word processor. Text nodes are such a terrible idea...
A clean start for the web (2020)
141–150 of 200 posts
Re: A clean start for the web (2020)
#142Earlier quoted context omitted.
I share your views on the topic. Early days of web were amazing from the perspective of people trying to express themselves despite the technological limitations. and animated gifs, tables, CSS, not to mention Flash... Obviously romanticizing to an extent, but to me personally there was value in people striving to set their content and themselves apart - vs today when it's so much about "streamlining" experiences and…
... so why doesn’t Hacker News do any of that? Isn’t it ironic that it was built by a Silicon Valley VC?
Re: A clean start for the web (2020)
#143I think the post misunderstands the situation. Its not 100% clear to me what the author's thesis is - but i think its that ever incrasing complexity of web standards results in bad user experience. I dont think that is true - or as they say correlation does not equal causation. The web used to be smaller and the corporate world didn't know what to do with it. It was creative and original. Eventually corporate america…
People miss the old days, without realising that those days only happened because no one saw the monetary potential in a medium, and the few people with a deep interest in the field (and enough resources to work for free) created stuff as a hobby.
Re: A clean start for the web (2020)
#144What we need is for HTML to get going as a hypermedia again, to make the hypermedia architecture viable for a larger set of web applications. It's been stalled at anchors and forms (with only GET and POST!) for decades now. It's astounding how much we got built with just that. I'm trying to show where it could go with htmx: https://htmx.org Hypermedia (in particular the uniform interface) is what made the web special…
Re: A clean start for the web (2020)
#145What we need is for HTML to get going as a hypermedia again, to make the hypermedia architecture viable for a larger set of web applications. It's been stalled at anchors and forms (with only GET and POST!) for decades now. It's astounding how much we got built with just that. I'm trying to show where it could go with htmx: https://htmx.org Hypermedia (in particular the uniform interface) is what made the web special…
I've always been shocked that HTML forms only support GET and POST and there's zero interest in supporting more HTTP methods in forms even in 2022. If forms supported the whole range of HTTP methods we could have a user facing web that's identical to a REST API, with different Accept and Content-type headers. Imagine how much development time we could save if forms supported DELETE and PUT!
These days HTML is really only viewed as a payload carrier for your JS application so doubt that'll ever change either.
Re: A clean start for the web (2020)
#146Earlier quoted context omitted.
... so why doesn’t Hacker News do any of that? Isn’t it ironic that it was built by a Silicon Valley VC?
Likely for the same reasons that many of the architects of social media UX design and recommendation algorithms don't let their kids use those apps.
Re: A clean start for the web (2020)
#147Earlier quoted context omitted.
Isn't that what we have? JavaScript is a VM-based sandbox. The difference is that JavaScript has more ready access to the DOM, but Flash was also able to do that, it just used JavaScript as a bridge.
The point is that you didn't need DOM. You had a canvas to draw things on and to handle clicks in. Now you need the DOM either way and it's cumbersome. It feels like trying to build a UI in a word processor. Text nodes are such a terrible idea...
Having a DOM, having structure, having a hypermedium is a source of immense potential & power. For both developer, but also, capitally & uniquely, for users too.
This longer top-commemt talks some to why documents, why hypermedia is enriching: https://news.ycombinator.com/item?id=31373988
Re: A clean start for the web (2020)
#148Earlier quoted context omitted.
The point is that you didn't need DOM. You had a canvas to draw things on and to handle clicks in. Now you need the DOM either way and it's cumbersome. It feels like trying to build a UI in a word processor. Text nodes are such a terrible idea...
Exactly. When I first did a web front end it felt exactly like customising MS Word with VBA. No matter what you put on top of it the roots poke their heads through and it feels like a mess.
HTML is a document format at its heart and there's no getting around that, but is/was a nice escape hatch.
Re: A clean start for the web (2020)
#149> First, you need a minimal, standardized markup language for sending documents around > Then, you need a browser. I can't not think of the Alan Kay talk "The computer revolution hasnt happened yet" from 25 years ago. Some quotes: "HTML on the internet has gone back to the dark ages because it presupposes there should be a browser that understands its format." "...ever more complex HTML formats, ever more intractable…
Re: A clean start for the web (2020)
#150Earlier quoted context omitted.
One advantage of pushing the computing on the user-side is that it reduces the load on the server: less requests, less processing and smaller request sizes. Thus it reduces the bill for the developers/companies :)
So by spending thousands of dollars on developer time we can save dozens of dollars on server costs? ;)