
Create a real-time fb-messenger project by organizing folders under xampp htdocs, including core, ajax, classes, assets, content, and js, then test with localhost to print hello world.
Create a password hash method using PHP to hash and verify user passwords with the default Blowfish-based password_hash and password_verify, enabling secure login against stored credentials.
Create a public isLoggedIn function in the user class that returns true if a session ID is set, and use a getId method to obtain the user ID for homepage.
Create a method to fetch and display latest chat messages by joining messages and users, binding sender id, and displaying messages on the right or left.
Create a JavaScript function to validate a selected image from a file input and upload it to a chat recipient via a server endpoint.
Display uploaded images in the chat by converting a JSON string to a JavaScript object, appending image messages to the chat panel, and testing image posting in the interface.
Develop a dynamic update method in PHP to modify messenger messages in a MySQL table, handling fields, conditions, and binding values to update status, time, and content.
Add a conditional flow to the recent messages: check the user id, update an existing message or insert a new one, update display time and badge in the messenger class.
Create a scroll down method for the real-time chat messenger using websockets, php, and mysql that auto-scrolls as new messages arrive.
Wanted to build your own REAL TIME chat just like Facebook Messenger? and don't know where to start from? Don’t worry, this Course will show you step by step how to create your own Facebook Messenger clone using WebSockets. Yes, we will be using websockets in PHP along with MySQL, Javascript.
It doesn't matter if you're a beginner or an experienced programmer, just you have to know the basics of PHP, MySQL, HTML ,CSS and JQuery.
This course will be greatly and highly beneficial to you. And by the end of this course you will be capable of creating your own Real Time Chat Just like Facebook, not only this you will also be more than competent with skills WebSockets, Ratchet, PHP, PDO, OOP, MySQL and jQuery.
You can highlight the site you create in this course, If anyone who sees this project in your portfolio might want to hire you because from this course you will gain skills which help you to understand the main concept used in the Real Time Communication system. So get the ULTIMATE guide to create a REAL TIME Chat Application Like Facebook Using Websockets and PHP.
Support
By taking this course you will get my full support. I've always loved to help my students (could be you). I’ve answered all that question that students have asked so far. I’m always in a ninja mood, if there’s a question it’ll be answered within an hour or few. By all this means if you have any errors. I'll be happy to check codes, errors.
This Course Covers The Following Features:
One to one chat
WebSocket Server
Ratchet
Clients Connections Logic
Store Messages Logic
Display messages in real time
Emojis
Post Message
Post Image
Tokens
Sessions
Please
look at all the lectures to see more things that are covered.