Writing a chat application with popular web applications stacks like 
LAMP (PHP) has traditionally been very hard. It involves polling the 
server for changes, keeping track of timestamps, and it’s a lot slower 
than it should be.
  
                                       Sockets have traditionally been the solution around which most 
realtime chat systems are architected, providing a bi-directional 
communication channel between a client and a server.
Here is the example of my first basic chat application using socket.io:
🔀

 
 
 
 
 
 
0 Comments