I trying to make a realtime stats bar. And I think of using the Long Polling concept.
But when a request is send to php. I need a way of testing if the stats are updated.
Now I can just make a loop with a database query, and test it. But that just doesn't seem right to me :)
Güncellemeleri için veritabanı test daha ucuz bir yöntem var mı?