Build a chat using Php a jQuery

Hi everybody.
A client wants I implement a simple chat in order to get in touch with the visitors of his website. So I don't need to build a chat room but a one-to-one chat between the website owner and the website visitor. I'd need some guidance about hot to do it using jQuery and Php. I have found some script around the web, but, for instance, I don't understand how to manage the website owner side: It can happen that many visitors want to chat at the same moment and I can't guess how I have to manage this.

Can you give me some idea, suggestions and help?

Thank you so much
LVL 32
Marco GasiFreelancerAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

David FavorLinux/LXD/WordPress/Hosting SavantCommented:
There was a recent EE thread about this + the solution selected was https://livehelperchat.com/ which I then added to my research list.

Best to use existing code, rather than attempting to develop your own from scratch.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Julian HansenCommented:
Hi Marco,

The way I see it you have these options

First prize - implement one of the many chat plugins that are out there this is a canned chat solution that you can implement immediatly
Second prize - you can implement a simple chat interface using Firebase - there are a few samples on the net.

To do it yourself with PHP and JavaScript / jQuery is going to take a lot of effort playing with websockets and the like - unless you particularly want experience in this area I would go with one of the suggestions above.
Marco GasiFreelancerAuthor Commented:
Thanks to both for your answers. Currently I'm testing Libe Helper Chat (@Julian, is this one of the plugns you talked about in First prize?)
I'll let you know the results.

@Julian: I never thought to reinvent the wheel :D But I'd like some I can integrate with my existing Control Panel: the client shall chat with the client, fill a form, generate a alphanumeric code and give the user a link to go to the payment page. I guess my client will have to use both the chat operator frontend and my control panel passing from the former to the latter and viceversa to get the job done...
I'll take a look to Firebase also...
Cheers
Marco GasiFreelancerAuthor Commented:
Thank you so much. Live helper chat is absolutely amazing! It's incredible it be totally free!!! Thank you both for your advice.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Chat / IM

From novice to tech pro — start learning today.