News for hackers. Stuff that matters.
Re:Deurbanising the Web [pdf] by EugeneOZ on Monday July 19, 2021 @09:58AM (#27882712)
> A PDF is inherently self-contained, standard web technologies are not

What technologies exactly? You can have absolutely everything you need inside the HTML. You can inline css, js, svg and images. What technologies you can’t inline?

Re:Deurbanising the Web [pdf] by aenigma on Monday July 19, 2021 @10:42AM (#27883166)
you are correct that you CAN - but who does. That's no longer considered best practice. The arugment these days is that it's a lot easier to manage css if it's in a separate file, same with js, etc. So none of the serious web developers actually do anything inline anymore. The time it would take to convert a "best practice" website with separate files for html, css, js, etc. is just not worth it. The point he's making is still valid - why not have the option for something static.
Re:Deurbanising the Web [pdf] by EugeneOZ on Monday July 19, 2021 @10:51AM (#27883272)
But with the same (and even much bigger) success you can declare “I’m switching to self-contained HTML! No more external resources!” instead of “I’m switching to PDF, saying farewell to interactivity and mobile devices”.

It's just the declaration of ONE person, switching ONE site.

Re:Deurbanising the Web [pdf] by apotheon on Monday July 19, 2021 @02:56PM (#27886096)
> why not have the option for something static

You have the same option with either HTML or PDF:

- PDF files can be dynamic or static, depending on how you write them.

- HTML files can be dynamic or static, depending on how you write them.