Skip to Main Content
Django 5 By Example - Fifth Edition
book

Django 5 By Example - Fifth Edition

by Antonio Melé
April 2024
Beginner to intermediate content levelBeginner to intermediate
822 pages
18h 50m
English
Packt Publishing
Content preview from Django 5 By Example - Fifth Edition

16

Building a Chat Server

In the previous chapter, you created a RESTful API for your project that provides a programmable interface for your application.

In this chapter, you will develop a chat server for students using Django Channels, enabling students to engage in real-time messaging within course chat rooms. You will learn how to build real-time applications through asynchronous programming with Django Channels. By serving your Django project through Asynchronous Server Gateway Interface (ASGI), and implementing asynchronous communication, you will enhance the responsiveness and scalability of your server. Additionally, you will persist chat messages into the database, building a comprehensive chat history and enriching the user experience ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Django 5 for the Impatient - Second Edition

Django 5 for the Impatient - Second Edition

Daniel Correa, Greg Lim

Publisher Resources

ISBN: 9781805125457Supplemental Content