News for hackers. Stuff that matters.
Re:Writing HTML in HTML (2019) by blacktriangle on Wednesday April 07, 2021 @11:25AM (#26726266)
And then you've completely destroyed the point of hypermedia.
Re:Writing HTML in HTML (2019) by door101 on Wednesday April 07, 2021 @11:58AM (#26726777)
What do you mean? You can still like to other documents, just drop the idea of linking to the same list of documents on every page
Re:Writing HTML in HTML (2019) by blacktriangle on Wednesday April 07, 2021 @12:07PM (#26726916)
That works, but it's not what users want. Granted this is personal anecdata, but I've spent years pushing back on client expectations in the name of architecting things in a way the web supports at the lowest levels, and it's been an exercise in failure. No user is going to accept that behavior in a blog, and frankly as a reader on the internet, I find that solution pretty lame as well. I absolutely agree with minimizing the impedance mismatch between how we develop and how the web actually works and the associated tool-chain simplifications that come with that, but at some point we have to accept that web tech just wasn't designed to do what we need from it and add some layers on top. The challenge is balance.
Re:Writing HTML in HTML (2019) by door101 on Wednesday April 07, 2021 @12:59PM (#26727609)
I am not sure what is so radical about this. Let's take Medium as an example (pulled some random article from the front page):

https://medium.com/change-your-mind/the-simple-40-minute-mor...

What we have is, essentially, a blog post that could be written in pure HTML, and a link to the user's profile, which looks like this: https://ashley-richmond.medium.com/ This is one of the most popular blogging platforms and follows exactly the hub-and-spoke navigation model that I described.

Now, I do what to clarify, what I proposed is how I would build a website using plain HTML. I would certainly not go so far as to claim that it is the best way to build any website, SSG's have many advantages, but what I'm saying is that if one is going to write a plain HTML website, the easiest way is to accept the fundamental limitations of that approach, including a hub-and-spoke navigation vs a navbar. If you're writing a plain HTML site, you're probably a bit iconoclastic and willing to accept breaking some standard practices.