09-22, 14:00β14:50 (Europe/Lisbon), Workshops
Server-side is back, baby!
- take a break from Javascript, write your apps with liveviews instead π
In this tailk, we explore liveviews as an alternative to βtraditionalβ client-side rendering β a new way of building dynamic user interfaces for the web.
First, we give an introduction to the concept of liveviews and discuss how it differs from server-side rendering and client-side rendering.
After that, we showcase our interpretation of a Django liveview called Hypergen.
Then, in the main part of the talk, we build an example app with Hypergen while discussing some of its architectural choices.
Last, we open for questions and a more interactive vibe.
So are you looking for a break from Javascript, or if youβre just curious about what else is possible with Django, this talk is for you!
Sample application
If you want to follow along during the livecode session, you can install the sample application by following these instructions. Otherwise just sit back and enjoy the show! π€―
Outline
- About Liveviews
- From pure server side rendering, over jQuery, then React to liveviews. Our evolution of web development.
- Liveview basics - the what, why, who, where and when.
- Hypergen
- Architecture and design choices.
- Introduction and examples.
- We build an example app in Hypergen together, showcasing
- Pure Python HTML templates
- Base templates and template composition
- Liveviews
- Binding to DOM events
- Actions
- Partial DOM updates and other client commands
- Notifications and plugins
- Q&A
I've been working as programmer for 15 years, doing Django full time for twelve years. Before getting into programming I worked more than a decade as a piano player, composer and producer. I live on the country side just outside Copenhagen, Denmark with my wife and three girls.
I love searching for beautiful patterns in the universe. Besides Hypergen I'm currently exploring how to get nested data in and out of the Database. Would love to discuss that with other Django devs ;)
I've been working professionally with Django since 2014. A game designer by education, but found out that developing web applications with Django is much more fun :-).
For me nothing beats finding the best solution within a constrained design space, and most of the time Django is my go-to tool.