Answer the question
In order to leave comments, you need to log in
What technology stack to use for web service chat?
Hello. The task is to write a chat between users, or rather, everything has been done for a long time now, it works through ajax requests with a certain periodicity, we set up a ready-made solution in part. It is necessary at the moment for the future to implement messaging on sockets.
We write everything in php (yii) and now the question arose which technologies to choose, i.e. all the same, write in php (phpDaemon or something else) or still write in java (because I myself love this language, but I haven’t written anything in it for a long time, especially at work).
Advise comrades!
Answer the question
In order to leave comments, you need to log in
You can use CppComet then you can use api to send messages via web sockets from php.
Here is an example of a simple chat , but making chats with authorization is also not difficult.
On Laravel you need to do it, there is already built-in support for broadcast
I do all my chats with Socket.io. I connect the node and php through redis. Any realtime chat with rooms, private messages and other functionality is easily implemented.
Laravel already has puff and client support (Laravel Echo + Broadcast). Perhaps there is an analogue in UI
There is also Jappix. Why invent something? Xmpp client in php. Any server is possible.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question