|
Apache PHP server
Hi everyone.
Doing my final year project in linux- a Mozilla Firefox extension which providing chat option for two or more peoples, who happen to be browsing the same website simultaneously. It shows you other people who visit the same websites as you are. These people have to be registered with our software.
I don't know how to go about this. After a lot of googling and enquiring i have divided the project into three modules: an extension at browser side, chat implementation (probably in ajax) and a server- apache-php-mysql.
The extension keeps track of the URLs visited by the browser.
It sends this information to the server.
When it receives information from the server, the extension displays the number of users visiting the URL as the user.
The extension informs the server whenever the user clicks the EnableChat(which will be embedded in a toolbar in the browser) button to start a chat session.
After receiving the information, the extension displays the users in that site.
The user clicks on a particular username for chat.
I have learnt extension development from various tutorials. but i do not know about the server. How should I go about it. I have installed php mysql and apache. but i do not know exactly what the server must do. I know i have to write the server code in php and put it in the /var/www folder. but what should that code do? how exactly does the extension or browser communicate with the server for the exchange of above info?
pls help me...
|