How would you make an instant messenger program for a websites userbase?

JasonDavis picture JasonDavis · Aug 14, 2009 · Viewed 10.7k times · Source

I have a social network site similar in design to a myspace/facebook type community, I am using php/mysql on a LAMP setup.
I have always wanted to possibly have my own instant messenger that would go on a user's PC similar to AIM that would work

with my site, meanning a buddylist in the program would consist of users on my site and also to show a users image next to

the name and a link to there profile on my site.

Now I know this is possible but what would make me not want to do it is the server resources it would take. So I am asking,

if you were to do this, how would you go about it?

What language would you make the .exe program in?

Is there someway to make a user connect to another user so that each message between them is not hitting my mysql DB?

Any tips/advice/suggestions welcome

Answer

sam picture sam · Apr 21, 2011

coding SOAP (Simple Object Access Protocol) using JAVA (and XML) or any other language is much easier and faster.