In my project I need to push some data from server to the client
like facebook
does, when some updates are performed in the clients profile
like somebody writes something in the wall of the client, Facebook automatically push it to the client side.
Currently I am using AJAX
to continuously check the DB for the updates
. That is not a good practice
.
I don't want to depended on the client side for the updates. I want that the server should automatically push the data to the client side
when some updates are performed related to the client.
Please suggest some url or sample code to do so......
Thanks in advance.....