وب سایت تخصصی شرکت فرین
دسته بندی دوره ها

Django channels – create your own web chat application

سرفصل های دوره

explain Django channels, how does it work and how can i use it


1. preparing the environment
  • 1. install python
  • 2. install visual studio code (the editor)
  • 3. install extensions for visual studio code
  • 4. Virtual Environments
  • 5. install pythons libraries

  • 2. creating the project
  • 1. create Djangos project and application
  • 2.1 Pages.zip
  • 2. add the pages and URLs of the project

  • 3. Introduction to our plan
  • 1. what is the idea of creating a chat application

  • 4. Introduction to Asynchronous and Synchronous
  • 1. what is Asynchronous and synchronous

  • 5. Introduction to ASGI
  • 1. Djangos interfaces

  • 6. Introduction to channels
  • 1. what is channels
  • 2. what is layers of channels
  • 3. what is scope
  • 4. what is daphne
  • 5. Channels structure

  • 7. add channels in our project
  • 1. routing
  • 2. consumers
  • 3. utilize ASGI interface
  • 4. settings

  • 8. Client side
  • 1. add JavaScript to a page and connect through WebSocket
  • 2. send an event to the consumer
  • 3. receive an event from the consumer

  • 9. consumers
  • 1. accept a connection
  • 2. receive an event
  • 3. disconnect the connection
  • 4. send method
  • 5. using scope

  • 10. channels Middleware
  • 1. what is the middleware
  • 2. how can i use a middleware

  • 11. the scope
  • 1. get the user object
  • 2. get the session
  • 3. what is url route

  • 12. Channels Layers
  • 1. how does layer work
  • 2. how to create a group of channels
  • 3. What is the receiver function
  • 4. how to use send method to send an event to an individual channel
  • 5. how to send to a group of channels
  • 6. how to reach the layers from the views

  • 13. complete the project
  • 1. create a new message and send it to the consumer and show it on the page
  • 2. complete register page to add new users
  • 3. complete login page
  • 4. complete logout operation
  • 5. let the user register or login to be able to enter home page
  • 6. show the users on home page
  • 7. how can i know the user that i am chatting from views side
  • 8. create a model (database) to save messages between users
  • 9. how can i know the user that i am chatting from consumers side
  • 10. save the received and sent messages in the model (database)
  • 11. how to send a message to another person and show it on the two pages
  • 12. create a model (database) to save channels name of each user
  • 13. send the messages between the users
  • 14. show the old messages on the page of the users
  • 15. how to order the messages by the date and the time
  • 16. test the chatting area and chat many users at the same time
  • 17. make the messages seen when the other person is inside the chat
  • 18. how to change the messages to be seen all of the time
  • 19. make the messages seen when the other person enters the chat from views
  • 20. the last touch

  • 14. the last thing
  • 1. bye
  • 45,900 تومان
    بیش از یک محصول به صورت دانلودی میخواهید؟ محصول را به سبد خرید اضافه کنید.
    خرید دانلودی فوری

    در این روش نیاز به افزودن محصول به سبد خرید و تکمیل اطلاعات نیست و شما پس از وارد کردن ایمیل خود و طی کردن مراحل پرداخت لینک های دریافت محصولات را در ایمیل خود دریافت خواهید کرد.

    ایمیل شما:
    تولید کننده:
    مدرس:
    شناسه: 36561
    حجم: 3277 مگابایت
    مدت زمان: 410 دقیقه
    تاریخ انتشار: 25 اردیبهشت 1403
    طراحی سایت و خدمات سئو

    45,900 تومان
    افزودن به سبد خرید