How to implement personal correspondence on the website for the type of dialog in VC?

Hello. Is there a website on YII2, you need to implement normal(Ala VC) correspondence between users. Most of the "gaglani" led to answers node.js + socket.io. The question, in fact, and within php there are no similar solutions? And, if not, get me a separate server to raise node.js which will correspondence to serve? Or what do you think is better to implement all this? Thank you in advance for your answers
March 12th 20 at 08:03
5 answers
March 12th 20 at 08:05
Solution
Ratchet I looked at the time under the sockets, but now I understand that nodejs is much better in this regard. And more convenient. You can do even in assembler, but why? I now have both languages in military projects work. PHP under quick admin and the sites starting page, and under nodejs is asynchronous and event-driven model
March 12th 20 at 08:07
It all depends on the business objectives.

If it is critical not to use new technology as it is the extra administration costs, you can just on the client timing to interview.

Or have widgets on the basis of the Telegram, it is possible what to connect.

In General, you can do a lot of things, if you study, you like Node.js to throw, and async PHP, or even Go.
March 12th 20 at 08:09
swoole, pthreads
March 12th 20 at 08:11
In General, Yes, php has not found stable implementations. We node.js to do. And
node.js rbac will request via the api, and take the answers directly from the database.
March 12th 20 at 08:13
Hellen55 Maxim @Hellen55
Mo residents to explain in detail how you have implemented this instruction
https://www.pvsm.ru/ajax/191782
Can. And what exactly is necessary? There is all clear) - Hellen55 commented on March 12th 20 at 08:16

Find more questions by tags Node.jsYii