Hacker News new | ask | show | jobs
by miki123211 7 days ago
It exists. It's called HTTP and HTML.

If you do this, however, you quickly figure out that you're wasting bandwidth and the user's time by forcing a round trip to a far-off server on every button click (hence Javascript), and that the UI looks inconsistent in different browsers (hence CSS), and then, a few years later, you get the status quo.

1 comments

And then you've reinvented native apps but worse.

The point of design or abstraction is basically to pick out specific interesting points on a multidimensional spectrum. You can't cover a large swath of the spectrum and still have a good design.

Classic HTML forms were an interesting point. They are not the most efficient solution to every problem, but they have known properties which allows more to be said about then (for instance no code execution on the client, and you can "save as" and print). Fully native apps are another. There's very little that can be guaranteed about a native app but it has access to more ways to do things efficiently. By pulling HTML towards native apps, it becomes a jack of both trades, master of none. You can't guarantee many properties about an HTML page and more, you usually can't print one and definitely can't save-as, but it also can't be as efficient as a native app.