In this Django tutorial we learn the theory behind WebSocket's, ASGI, and Channels and then go on to build a chatroom to demonstrate how to use and build asynchronous applications.
Windows Users:
==================
error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools
Download:
1.[ Ссылка ] (at bottom select Build Tools for Visual Studio 2019)
3.Run and install build tools
00:00 Introduction
01:24 Project specifications
02:35 Synchronous Vs Asynchronous
07:35 WebSockets
14:56 Channels
18:52 Start developing - create virtual environment & install Django
20:31 Install Channels
33:58 Routing
39:37 Consumer
44:09 Consumer - connect
51:43 Consumer - disconnect
55:57 Front-end
1:05:57 Remember accept is needed to allow WS connections
1:09:20 Channel layer configuration (Redis optional)
1:12:09 Finishing the chatroom
Code Repository:
[ Ссылка ]
Codebase and further reading:
[ Ссылка ]
SUBSCRIBE to get more free tutorials, courses and code snippets!
[ Ссылка ]
Follow us on Facebook
[ Ссылка ]
Follow use on Twitter:
[ Ссылка ]
![](https://i.ytimg.com/vi/F4nwRQPXD8w/maxresdefault.jpg)