Hello guys, did you manage to make a chat? I really need to do this right now, but have zero experience, please advise me something,can i make chats using this video or what should I do, thank you in advance🙇🏻♂️
@@backend404 hi!! yes I did. Tutorial is so clear that you can follow without having trouble. You should consider your needs because it doesn’t use websocket, etc to make it realtime instead it fetches data in every 5-10 seconds.. But since you don’t have experience you should follow this tutorial and maybe after this video, you can level up your skills to use more complicated tools. follow every step, take time and try to understand everything he mentions. good luck
Hello Destiny, great job you are doing here. I will like to follow the chat app with Django project you have here, but my concern is about the template you provided. I noticed it has functions for authentication and ToDo, my question is: can I clear the models for those two? or they are needed for the chat app? Kindly let me know your thought as I will like to have a clean template solely for the chat app Regards
Can you please help me on this? From your estimation, putting all pros & cons together, which one tool will you advice a beginner programmer to venture into especially when it comes to real time stuff. *Channels & Sockets* against React js???
Both WebSocket and React are useful tools for real-time communication, but they serve different purposes. WebSocket is a communication protocol that enables bidirectional communication between a client and a server, making it suitable for building real-time applications. React, on the other hand, is a JavaScript library used for building user interfaces. If you're looking to implement real-time features like live updates or notifications, WebSocket would be a better choice, as it's designed specifically for such scenarios. React can still be used alongside WebSocket to handle the UI rendering part of your application. So, to answer your question, if you're focusing on real-time communication, WebSocket would be the more suitable technology to use.
Just noticed watching this again aren't the names back to front in the message window? Are browser notifications an option in this? Or email notifications of a new message? Otherwise how would users know of a new message? Thanks
@ayoomojola7835 Absolutely, WebSockets and real-time communication are still very much in use in the web development industry. They are a fundamental part of building modern web applications, especially for features like chat applications, live notifications, online gaming, collaborative tools, and more. Technologies like Django Channels (for Django) and libraries like Socket.io (for React and other frameworks) continue to support real-time functionality, making it an essential aspect of web development. I’m already making tons on tutorials on these
The time it takes to learn Django can vary depending on your prior programming experience and the depth at which you want to understand the framework. For someone with a basic understanding of programming concepts, dedicating a few hours a day, it might take a few weeks to become comfortable with the basics of Django. If you need a timestamp, I'd say 6months However, to become proficient and develop more complex applications, it could take several months of consistent practice, learning, and working on projects. Remember, continuous learning and practical application are key to mastering any technology, including Django.
It's alright, with time you'd understand what's going on. If you're a beginner don't be hard on yourself if you don't understand what's going on now, you will do later in the future if you keep learning everyday.
@@desphixs Thanks, I found that yesterday when I check your GitHub. I didn't slept the whole night try to make it run. I'm a software engineering student, but never created any heavy software. Tried whole night to make this pre-made project to run. But fixed dozens of errors and still it couldn't run. At the end on the browser there was screen full of errors, but had a main heading on top Error: Uncaught error. Spent 3,4 hours on it. It didn't got fixed. Now I was about to go sleeping, Here at 2:19 pm. 🤔 😅 Will look it later. 😂 😅
I've completed this tutorial. It' easy to follow and you understand everything because he explains every code he writes. Big thanks!!
man, is the 13th video is his final vid of this series ?
@@dinand28 yes
sir, can i ask u again ? is this can send image/video to other user ?@@ezghj
Hello guys, did you manage to make a chat?
I really need to do this right now, but have zero experience, please advise me something,can i make chats using this video or what should I do,
thank you in advance🙇🏻♂️
@@backend404 hi!! yes I did. Tutorial is so clear that you can follow without having trouble.
You should consider your needs because it doesn’t use websocket, etc to make it realtime instead it fetches data in every 5-10 seconds..
But since you don’t have experience you should follow this tutorial and maybe after this video, you can level up your skills to use more complicated tools.
follow every step, take time and try to understand everything he mentions.
good luck
I look forward to the next videos and HMS. Thank you. Highest level!
Glad you like them! More to come
The explanation on the switch is clear. We will wait.
Thank for your understanding
How about using websocket for chatting, so it can handle real-time message and scale for multiple users?
Yes, that’s a great idea. We’d implement that in the future videos
Hello Destiny, great job you are doing here. I will like to follow the chat app with Django project you have here, but my concern is about the template you provided. I noticed it has functions for authentication and ToDo, my question is: can I clear the models for those two? or they are needed for the chat app?
Kindly let me know your thought as I will like to have a clean template solely for the chat app
Regards
No, they are not needed for the chat app, it just different apps that are in one project
Can you please help me on this? From your estimation, putting all pros & cons together, which one tool will you advice a beginner programmer to venture into especially when it comes to real time stuff. *Channels & Sockets* against React js???
Both WebSocket and React are useful tools for real-time communication, but they serve different purposes. WebSocket is a communication protocol that enables bidirectional communication between a client and a server, making it suitable for building real-time applications. React, on the other hand, is a JavaScript library used for building user interfaces.
If you're looking to implement real-time features like live updates or notifications, WebSocket would be a better choice, as it's designed specifically for such scenarios. React can still be used alongside WebSocket to handle the UI rendering part of your application.
So, to answer your question, if you're focusing on real-time communication, WebSocket would be the more suitable technology to use.
Could you please do this with using Django channels and web socket
Nice video’s, can we deploy the backend on cloud run? I did read Some problems with the need to reconnect with cloud run everytime and Some other bugs
I loved this! Amazing bro. I have a question, it would be hard to adapt it to use with channels? If i only have the UI
Yes, of course, you can integrate channels into the existing project. If you get it done, I'd like to know your process for how you did it.
Just noticed watching this again aren't the names back to front in the message window? Are browser notifications an option in this? Or email notifications of a new message? Otherwise how would users know of a new message? Thanks
It totally depends on how you want this to work; browser notification will be better in this case, but you can also make use of browser and email.
@@desphixs is that in this on the course or would that need to be added by us? Thanks for your reply.
What did you use to enable the real time functionality?.... channels ? ajax?
I didn’t use channel, I used setInterval to call a function that retrieves the messages every 2 seconds
Hmm brings me to the question is channels adopted in the industry?… almost looks like it’s not efficient enough
@ayoomojola7835 Absolutely, WebSockets and real-time communication are still very much in use in the web development industry. They are a fundamental part of building modern web applications, especially for features like chat applications, live notifications, online gaming, collaborative tools, and more. Technologies like Django Channels (for Django) and libraries like Socket.io (for React and other frameworks) continue to support real-time functionality, making it an essential aspect of web development.
I’m already making tons on tutorials on these
Can you create a video soon about setting up web sockets for this application?
Yes, I am working on a video already.
doesn:t work on mac though
I have ques?? How many days you needed to learn django
The time it takes to learn Django can vary depending on your prior programming experience and the depth at which you want to understand the framework. For someone with a basic understanding of programming concepts, dedicating a few hours a day, it might take a few weeks to become comfortable with the basics of Django.
If you need a timestamp, I'd say 6months
However, to become proficient and develop more complex applications, it could take several months of consistent practice, learning, and working on projects. Remember, continuous learning and practical application are key to mastering any technology, including Django.
I'm react phobia, hope I will be able to move along with the explanation.
It's alright, with time you'd understand what's going on. If you're a beginner don't be hard on yourself if you don't understand what's going on now, you will do later in the future if you keep learning everyday.
I also have react phobia😅 actually it's javascript phobia😂
Does this have to be done with React?
Yes, we used react to build the project.
@@desphixs yes I know you did, but could this not be done the old way with html/CSS for instance?
Source code?
GitHub Link in description
@@desphixs Thanks, I found that yesterday when I check your GitHub. I didn't slept the whole night try to make it run. I'm a software engineering student, but never created any heavy software. Tried whole night to make this pre-made project to run. But fixed dozens of errors and still it couldn't run. At the end on the browser there was screen full of errors, but had a main heading on top Error: Uncaught error. Spent 3,4 hours on it. It didn't got fixed. Now I was about to go sleeping, Here at 2:19 pm. 🤔 😅 Will look it later. 😂 😅
source-code please ?
Here you go: github.com/desphixs/Chatapp-using-Django-RestFramework-and-React
I don't buy your course because you don't give source code in Udemy
Hey buddy, just so you know all the courses now have the source code for free when you enroll.