Adding Node.js (for real-time notifications) to an existing PHP application

前端 未结 2 556
抹茶落季
抹茶落季 2021-01-30 11:55

I have an existing PHP application, to which I need to add realtime notifications. In order to achieve this I have installed node.js (intending to add socket.io for all real ti

2条回答
  •  走了就别回头了
    2021-01-30 12:31

    What I would do in this scenario is set up a Node.js server with Socket.IO. This gives you a cross-browser method for sending near-real-time data to clients.

    When the client loads your PHP page, you will have a

提交回复
热议问题