2 ms·
>We have been authoring HTML by hand for decades with ease No, we've been generating it with templates or authoring templates. Authoring HTML by hand is a ver
by pydry 5mo ago
>We have been authoring HTML by hand for decades with ease
No, we've been generating it with templates or authoring templates.
Authoring HTML by hand is a very early 2000s thing to do.
- pbhjpbhj 5mo agoAfter you a FE webdev that doesn't regularly author HTML by hand?
- victorbjorklund 5mo agoHand on heart. When was the last time you built a serious production system for a real business that was 100% built from HTML without using any build step? Just editing the footer and header in every file when it updates (or using iframes)
- coldtea 5mo agoLLMs aside, when was the last time you wrote React/JSX and didn't write a subset of HTML by hand in them?
- victorbjorklund 5mo agoThat is the point. No one writes HTML without any abstractions anymore. You use a framework or a build tool. Because just editing pure html files is a pain in the ass. Probably haven’t done that since 2010.
- Jakob 5mo agoMaybe not in your corner of the internet, but businesses used server side includes (SSI) for that, not iframes. You add “include” tags to your HTML file and your web server like nginx or varnish would replace it with the fragment at runtime. <!--#include virtual="../footer.html" --> I saw this was quite popular for big publishing houses with millions of articles still relatively recently 10 years ago. They would only write the HTML body of a new article and the other fragments would be included by the web server. Very cheap, stable, and very big changes across the whole website could be done instantly since cache invalidation is trivial (the web server knows all modified dates of all fragments). Also, no additional CDN or caching needed. Later, with CDNs there was even a variant where these fragments were hosted at the edge (ESI).
- victorbjorklund 5mo ago10 years ago. I bet you can’t name a single production site writing HTML files without any build tools at all. Just raw dogging using notepad directly on the server.
- F7F7F7 5mo agoCan’t answer the person who responded to you but: Yesterday. Astro components. 3 million people will have seen it as I type this. More next week.
- deleted 5mo ago[deleted]