Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End php Reply To: php

#236197
danallen
Participant

Have you validated your basic design? Is jquery/php chat going to get what you need for sure? Neither jquery nor php are chat systems with the communications and user management components built in. If you are doing this for fun, no problem, but if someone is planning to use what you are making, you might be putting yourself in a bad position.

This information is preliminary.

From research I needed to do, I found a lot of information indicating that php is not a good choice for building a chat room, unless the number of concurrent participants is no more than 20. The reason is that the overhead of running a php script every second or so for every participant puts a big load on the server. A good chat system can be embeded within a php site, but the chat itself is going to work better if it is built with one of the existing chat platforms, such as jabber, irc, and quite a few others. You need to know which protocol you are going to use, and start with a package that gives you a starting point. Trying to build this totally from scratch without a chat platform is going to be long road..

The way to build a chat facility is to start with one of the basic chat services that run a daemon. You probably will need to have your own vps or dedicated server, not shared hosting.

Hopefully, I have this all wrong.