I wanted to learn, how to make "notification"/"chat" like thing of facebook and google. I searched through all web/ almost stack overflow questions to get my answer, but all I end up not making even a single chat box. I searched and have a great confusion between : 1. "Pinging Server each second" and "Long Polling" are two terms different for same technique or techniques are also different??? Explanation and demo please. 2. APE (AJAX Push Engine) Explanation and Demo please. 3. Socket.IO and Node.js Explanation and Demo please. 4. Ratchet (php) , I tried this hard, but ended up nowhere. Explanation and Demo please.
Which one is the best method ? For push notification or say real time web apps? and is easy to implement on WAMP windows server
You can expect me to be 1 level up from beginner. In Push Notification, Database needs to be checked for new updates, but for private two-party chat no database is required, its what I think. But its legal to save chat logs, & So above both for my requirements needs to handle php file also in the real time. Please Help.