P
P
Prescott2013-07-20 23:39:36
PHP
Prescott, 2013-07-20 23:39:36

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

7 answer(s)
Z
Z0nd0R, 2013-07-21
@Z0nd0R

openfire + jappix

A
AgentSIB, 2013-07-20
@AgentSIB

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.

P
Puma Thailand, 2013-07-21
@opium

cometchat try

K
KEKSOV, 2013-07-21
@KEKSOV

We use Mibwe, which is quite a mature product. Here is his list of features .

U
UZER2006, 2013-07-21
@UZER2006

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.

D
Dmitry, 2013-07-21
@webmix

I would pay attention to these:
LiveZilla - jabber chat, my own
SiteHeart server - a turnkey solution

P
Prescott, 2013-07-21
@Prescott

Support chats are not needed. Need user to user chat. Cometchat with a database on a muscle is not clear how it scales.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question