In 2001 or so, I was building an HTML based email client. We used a hidden iframe to execute JS to load data from the server and manipulate the DOM with the result. It was not quite as neat and elegant as this—the browser support was not there. However, the basic mechanism was the same. It warms my heart to see the basic mechanism in such a compact package, without libraries upon libraries and machinations to make th…
Show HN: htmz – a low power tool for HTML
71–80 of 256 posts
Re: Show HN: htmz – a low power tool for HTML
#72This is a glorious demonstration of someone really understanding the platform. I don't expect I would ever use it, but I think it's excellent.
It's a fun project overall, though.
Re: Show HN: htmz – a low power tool for HTML
#73Re: Show HN: htmz – a low power tool for HTML
#74Re: Show HN: htmz – a low power tool for HTML
#75Except using a URL fragment refers to a “resource that is subordinate to another, primary resource” not a destination. They point out the URL abuse, so why do it? Slot is also a part of the custom elements standard, but they say no custom elements. Why use only web standards and then use them incorrectly?
Because it's a clever hack, not a standards proposal. Lighten up, Francis.
Re: Show HN: htmz – a low power tool for HTML
#76So little code, achieving so much!!!
Re: Show HN: htmz – a low power tool for HTML
#77Re: Show HN: htmz – a low power tool for HTML
#78If I had modest amount of data in JSON baked into html, what's the barrier to something interesting, say... implementing a minimal spreadsheet or maybe just a sortable/filterable table?
Re: Show HN: htmz – a low power tool for HTML
#79This is great. I had an idea to use named iframes and targeted forms for simple, server-rendered pages with built-in style-scoped widgets, without leaning into complex JS client-side. But, I never simplified it well nor expressed a polished and elegant realization of that idea, as this htmz looks to me to be. A reminder to never give up good ideas, focus on excellence, and focus on refinement to a completion of an id…
Re: Show HN: htmz – a low power tool for HTML
#80No babel plugin? Npm module… sheesh /s