Back to Browse

Let's Create A Toy HTML Builder in Rust

155 views
Jun 15, 2024
19:33

In this session we take a look at creating a toy "HTML" builder in Rust, So why would you want to create a nestable builder like this? Well, an infinitely nestable builder allows one to programmatically generate some output in a typesafe and precise way. It’s also the “base level” building block for layering higher levels of abstractions on top of the builder, for example one could create functions that emit a particular component, and those components could of course be nested and composable. Or another example could be creating data adaptors that take data in one particular format and use the nestable builder to transform it to the final target format.

Download

1 formats

Video Formats

360pmp425.5 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

Let's Create A Toy HTML Builder in Rust | NatokHD