Type-safe HTML templating in Zig
I’ve done a lot of web development over the years. I started around the year 2000, just after PHP 3.0 was released and started taking over the web world. I’ve used all kinds of approaches for generating HTML: raw PHP, string concatenation in Python, Smarty templates in PHP, Template Toolkit in Perl, and Jinja/Django templates in Python. Then, as the world moved on to SPAs and JavaScript frameworks, I stopped working on frontends.
Summary
The author reflects on their extensive experience in web development, detailing various HTML templating methods they’ve used over the years. This retrospective sets the stage for a discussion on the potential of type-safe HTML templating in the Zig programming language.
Comments (84 of ) ⌛