Let's Create A Toy HTML Builder in Rust

Поділитися
Вставка
  • Опубліковано 14 жов 2024
  • 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.

КОМЕНТАРІ • 4

  • @init_bobjames
    @init_bobjames 4 місяці тому +1

    nice project wat the doodle! lets goo, lets make html element nodes and overload the dom, html bomb, can we do it?

    • @watthedoodle
      @watthedoodle  4 місяці тому +1

      thanks Bob! we can create fork bombs in the shell, but that's because the shell can spawn a new process, sadly HTML is interpreted and static so we can't create the equivalent or at least to my understanding it can't be done! 😆

  • @arupde6320
    @arupde6320 3 місяці тому

    github ??

    • @watthedoodle
      @watthedoodle  3 місяці тому

      my GitHub account is displayed in the video footer. It's github.com/watthedoodle/
      If you mean the specific repo used in this video session then that can be found here:
      github.com/watthedoodle/toy-html-builder