Remix.run Logo
▲ zeroq 15 hours ago

> Browsers are runtimes and webpages are apps. Surprised to see that.

I've been championing this mind set for nearly 20 years now. The message was more clear in the Flash era, but once you realize that your webpage is an (/a desktop) application that only happen to live in a browser - it makes a lot of reasoning and designing a lot easier.

▲ZenoArrow 12 hours ago | parent [-]

> I've been championing this mind set for nearly 20 years now.

I don't want to tell you you've wasted your time but it's fairly obvious that webpages are sometimes documents, sometimes apps and sometimes a hybrid between the two. For example, YouTube is clearly an app, but a webpage written predominantly in HTML and CSS is much more of a document than an app.

▲perching_aix 10 hours ago | parent | next [-]

how do you define a document?

i'm not trying to be glib, i get what you mean, i just wonder if you have an actual criteria. I've been struggling with this from time to time over the years.

▲ZenoArrow 8 hours ago | parent | next [-]

> how do you define a document?

I would say a contained set of words, sometimes accompanied by static visual data (e.g. images), which aimed to convey ideas or information.

For example, a post on a recipe blog website can be seen as a document, even if there are sometimes some interactive elements (like being able to change ingredient amounts based on desired portion sizes), and even if there's usually a CMS behind the scenes helping the website author update their recipes, as the written recipe is at the core of what is being transmitted.

On websites the wide array of interactive elements do blur the lines between documents and apps, but the web was designed as a document sharing medium first and had app functionality bolted onto it afterwards. It's perfectly possible to have a website with zero JavaScript.

I don't know if that fully answers your question, but hopefully it's of some use.

▲gabrielhidasy 7 hours ago | parent | prev | next [-]

Anything I can print and still get most of the utility is a document. Even expand it a little to Harry Potter style print+video.

IMHO the distinction is on interactivity, if I'm expected to click around to change state (not just get to other page) then its an app, if not, it's a document.

▲dotancohen 8 hours ago | parent | prev [-]

Static (informative) content, for a first pass heuristic.

▲zeroq 11 hours ago | parent | prev [-]

You sir, you would be fairly dumbfounded to find that most people think that webpages are for showing trivial things founded on the backend side of them applications. Like when you want to change a filter on your amazon page and it suddenly give you a different page altogether, you know?

▲grim_io 11 hours ago | parent | next [-]

Most pages probably don't need to be anything else.

I hope we can move past the movement of everything should be a web app.

▲zeroq 3 hours ago | parent [-]

You missed the point. It's not about everything has to be an app. It's about thinking about webapps with the same mindset as ordinary (dektop) apps.

▲ZenoArrow 10 hours ago | parent | prev [-]

I didn't say Amazon was just a webpage, did I. Perhaps you're dumbfounded because all you use on the web are web apps.