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
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
Lyric answered on 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.
alfonzo_Baumbach55 answered on March 12th 20 at 08:09
Wilbert answered on 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.