====== How to implement COMET with PHP ======
uid=kerphi
title=How to implement COMET with PHP
description=Comet is a programming technique that enables web servers to send data to the client without having any need for the client to request it. This technique will produce more responsive applications than classic AJAX. In classic AJAX applications, web browser (client) cannot be notified in real time that the server data model has changed. The user must create a request (for example by clicking on a link) or a periodic AJAX request must happen in order to get new data fro the server. This article explains ways to implement Comet with PHP programming language. [...]
category=software
language=en
align=right
[[http://en.wikipedia.org/wiki/Comet_(programming)|Comet]] is a programming technique that enables web servers to send data to the client without having any need for the client to request it. This technique will produce more responsive applications than classic AJAX. In classic AJAX applications, web browser (client) cannot be notified in real time that the server data model has changed. The user must create a request (for example by clicking on a link) or a periodic AJAX request must happen in order to get new data fro the server.
I will now explain how to implement Comet with PHP programming language. I will demonstrate it on two demos which uses two techniques: the first one is based on hidden "
==== Download it ====
Here is the {{comet-ajax.tar.gz|tar.gz archive}} of this demo.
If you liked this article please flattr me ;-)
uid=kerphi
title=How to implement COMET with PHP
description=Comet is a programming technique that enables web servers to send data to the client without having any need for the client to request it. This technique will produce more responsive applications than classic AJAX. In classic AJAX applications, web browser (client) cannot be notified in real time that the server data model has changed. The user must create a request (for example by clicking on a link) or a periodic AJAX request must happen in order to get new data fro the server. This article explains ways to implement Comet with PHP programming language. [...]
category=software
language=en
align=left
{{tag>article computing comet ajax php javascript}}
~~DISQUS~~