Hypermedia driven maps

Speaker
Andrea Guerra 13:35 stage 🎤

🐘️ @andywar65@opalstack.social

Using Django, Leaflet.js and HTMX to seamlessly manage a CRUD geolocation app. In Hypermedia Driven Applications, content and user interface share the same data structure: HTML. Some JavaScript “islands of interactivity” can coexist with the HDA. In our case the “island” is a Leaflet Map, initialized just once. HTML fragments sent by server do all the work, transporting data, links, state, triggering events, everything without reloading the page.

The code example for the talk can be found at https://github.com/andywar65/map_swap_example.