725: CodePen 2.0, Templates on the Web, The Year of HTML? CodePen 2.0 is out now and we're talking about the launch, the idea of templating on the web, and how HTML could look very interesting in the future.
2 reposts5 likes
725: CodePen 2.0, Templates on the Web, The Year of HTML? CodePen 2.0 is out now and we're talking about the launch, the idea of templating on the web, and how HTML could look very interesting in the future.
2 reposts5 likes
Earlier iterations DID use HTML nodes btw but we switched to these Processing Instructions to support these use cases. It’s does look a little weird at first I’ll admit, especially for PHP developers, but these exist in XML (developer.mozilla.org/en-US/docs/W...) — we’ve just brought them to HTML!
@davatron5000.bsky.social for HTML templating in the browser, I think you're looking for XSLT 👀 Browsers finally killed off the Space Jam-era 1.0 spec but refused to consider implementing v3 ✅ HTML-based templates ✅ if/else syntax ✅ for loops ✅ "HTML" imports with XSLT template imports