News for hackers. Stuff that matters.
Re:Entire website in a single HTML file by jcpst on Thursday December 23, 2021 @08:51PM (#29669063)
No, not a SPA.

There is a concept of a single file app (SFA). You can share an html file, and that is the application.

It can have inlined micro js/css frameworks, or hand-rolled everything. An SFA should be human readable though- viewing the page source is useful.

I think it’s a concept worth exploring.

Re:Entire website in a single HTML file by dredmorbius on Thursday December 23, 2021 @11:26PM (#29670188)
I prefer the denotation of a single file site (SFS). Perhaps alternatively a multi-paged file (MPF), as there might still be multiple such pages on a site, or a site comprised of a mix of MPFs, SPAs, and traditional static single-page URLs.
Re:Entire website in a single HTML file by jcpst on Saturday December 25, 2021 @07:52PM (#29688579)
MP-SFS
Re:Entire website in a single HTML file by xwdv on Thursday December 23, 2021 @09:17PM (#29669251)
But what is the benefit?
Re:Entire website in a single HTML file by jcpst on Thursday December 23, 2021 @11:21PM (#29670150)
Showing the capabilities of the web browser as an application target, directly. You have HTML, CSS, and JS available.

No build tools required. Take this file and open it with a web browser. Then modify it, and refresh the browser.

Distribution and Development for applications is about as straightforward and accessible as it gets.

Re:Entire website in a single HTML file by xwdv on Friday December 24, 2021 @11:12AM (#29674736)
But what benefit is there for the end user?
Re:Entire website in a single HTML file by jcpst on Monday December 27, 2021 @09:08PM (#29709515)
Source code that is readable. Viewing the source on web pages in the 90s was how I learned to make my first web pages.
Re:Entire website in a single HTML file by est on Thursday December 23, 2021 @09:26PM (#29669313)
less Co2 emissions