Answer the question
In order to leave comments, you need to log in
Choosing a web chat to integrate into your site
Hello.
The project needs to integrate a chat for users. My criteria:
- "lightness", in terms of devouring iron, extra chips are not needed, only one-on-one chat
- the possibility of horizontal scaling
- saving the history of correspondence
- a sanely written web client adaptable in design with a dedicated view part
- the server in PHP was would be ideal, as it is my native language. I mean the event handling of course, not the comet implementation.
If I have to write it myself, I consider options
1) nginx comet + php + redis + web client
2) jabber + web client. The familiar guys did this, but they say that they did not find such a bundle with storing and receiving message history from the server. Plus, it seems to me so unreasonably that jabber servers will eventually be a more resource-intensive solution for hardware than the first option.
Reinventing bicycles is not a hunt. What do you think?
Answer the question
In order to leave comments, you need to log in
Jaber:
Use ejabberd, it's in erlang and pretty easy to extend. If you wish, you can create your own schemes and receive any information, including history. The solution, of course, is complex, but interesting. Plus gives the advantage of using native clients.
We use Mibwe, which is quite a mature product. Here is his list of features .
Once I wrote a multi-user chat for my needs. Server - PHP + MySQL, COMET - dklab_realplexor. On the basis of this, as for me, the simplest chat can be made in 100-200 lines. realplexor has a ready-made JS plugin, on the client you will only need to write an interface and event handling.
I would pay attention to these:
LiveZilla - jabber chat, my own
SiteHeart server - a turnkey solution
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question