I'm setting up a dating website, and I'm looking for an instant chat script. I don't need any video options, or multi-rooms, just the best 1 to 1 (1 person can chat to many different people in seperate rooms) instant chat there is, it can be free or commercial.

Any ideas?

    Don't know about any pre-build architectures, but really you need to be proficient in AJAX programming to even think about this.

    What you will need to do is take the user's input at one end, send it to the server via AJAX, insert it into your database with a unique conversation identifier, then the other end can keep checking the database (via AJAX) for new messages with that unique identifier.

    The alternative approach is to leave the HTTP connection open, and then the server can push bits of javascript to the client on fairly live basis. You will need some kind of IPC for this, and it is more difficult to implement.

    It's very easy to over-stress your database with things of this nature.

    I have done stuff like this before, and it's not that difficult, but you will need to be profficient in the technologies involved to do it well.

      DaveRandom;10972877 wrote:

      Don't know about any pre-build architectures, but really you need to be proficient in AJAX programming to even think about this.

      What you will need to do is take the user's input at one end, send it to the server via AJAX, insert it into your database with a unique conversation identifier, then the other end can keep checking the database (via AJAX) for new messages with that unique identifier.

      The alternative approach is to leave the HTTP connection open, and then the server can push bits of javascript to the client on fairly live basis. You will need some kind of IPC for this, and it is more difficult to implement.

      It's very easy to over-stress your database with things of this nature.

      I have done stuff like this before, and it's not that difficult, but you will need to be profficient in the technologies involved to do it well.

      Thanks that's good to know. Luckily I'm actually hiring a company to build the website, so I just need an off the shelf solution which can be integrated into the site by the developers.

        socoolnetwork wrote:

        Luckily I'm actually hiring a company to build the website

        Well that company may have something up there sleeves already, but you might also be interested in this page wot I found wi' that Goooogle on that there t'internet....

          DaveRandom;10972893 wrote:

          Well that company may have something up there sleeves already, but you might also be interested in this page wot I found wi' that Goooogle on that there t'internet....

          I googled it of course, and find the site which list chat scripts, I was just wondering if anyone had used any in sites and had opinions on which ones were best for the criteria I've mentioned 🙂

            Write a Reply...