This extension implements several techniques to implement Comet with PHP.
For example, this can be useful to know in real time the result of a database query made by a FE plugin without reload the page. 
It includes a FE plugin and two examples extracted 