Reactive HTML for Backend People
Z411 | Wed 20 Jan 3:45 p.m.–4:30 p.m.
Presented by
-
Carlo Hamalainen
https://carlo-hamalainen.net
Carlo is a software developer based in Brisbane, Australia. He started out in scientific computing, then spent nine years in Singapore at Standard Chartered on the Strats (Haskell) team building software for financial markets.
Carlo Hamalainen
https://carlo-hamalainen.net
Carlo is a software developer based in Brisbane, Australia. He started out in scientific computing, then spent nine years in Singapore at Standard Chartered on the Strats (Haskell) team building software for financial markets.
Abstract
I'm a backend developer and I've always avoided JavaScript and frontend development. All of my work has either been command-line or batch mode, or has exposed an API that someone else's frontend used. I'd mostly given up on doing anything that needed a reactive web interface.
Datastar changed that, and I now find joy in making small (but useful!) UIs for myself and others. Datastar has a unique minimalist design with data-* attributes in plain HTML for reactivity, server-sent events for streaming updates, and a simple, highly performant morphing strategy. There is no build step and no second copy of your state in the browser.
I will show examples in Go and Python and explain the perspective shift that will let you build reactive web apps of your own. When I discovered Datastar, I was so pleased with it that I contributed its official Haskell SDK, but you can bring your language of choice (no Haskell knowledge required for this talk).
I'm a backend developer and I've always avoided JavaScript and frontend development. All of my work has either been command-line or batch mode, or has exposed an API that someone else's frontend used. I'd mostly given up on doing anything that needed a reactive web interface.
Datastar changed that, and I now find joy in making small (but useful!) UIs for myself and others. Datastar has a unique minimalist design with data-* attributes in plain HTML for reactivity, server-sent events for streaming updates, and a simple, highly performant morphing strategy. There is no build step and no second copy of your state in the browser.
I will show examples in Go and Python and explain the perspective shift that will let you build reactive web apps of your own. When I discovered Datastar, I was so pleased with it that I contributed its official Haskell SDK, but you can bring your language of choice (no Haskell knowledge required for this talk).