About This Tutorial
The tutorial will cover an overview of the architecture, along with a line-by-line review of all the components involved in the system.
This review includes:
Django:
- Authentication
- Models
- View
- Template
- HTMX initialization
Channels:
- Consumer
- Key methods (connect, disconnect, receive)
- incoming messages
- “dispatch” method
- Library: django-channels-presence
- Channel layer
- async vs sync
Workers:
- Channel layer
- async vs sync
- message format
- “dispatch” method
Redis:
- Channels
- Channel names
- Read / Write
- Group send
HTMX:
- Basic HTMX
- The ws extension
- The transformResponse function
nginx:
- Segregating HTTP from websocket connections
- Handling static files
uwsgi:
- Running Django application
daphne:
- Running Channels consumers
- Running Workers
Bringing it all together:
- Running it natively
- Building docker containers
Presenters
Ken Whitesell
Ken is a software developer with more than 40 years experience across a multitude of platforms and languages. He is currently employed within the Digital Services group in WSP USA working on technology associated with Connected and Autonomous Vehicles. When he’s not working, you can generally find him hanging around the Django Forum trying to answer questions and provide assistance. Beyond that, you will most likely find him at a table playing board games.