Hi There,
I'm trying to create a page on my website that shows newly uploaded items in real-time.
I was thinking that calling an Ajax Script every 3 seconds would be the best way to approach this, however my website does not get a new uploaded item that often. It is so variable too, anywhere between 30 seconds and 1 hour!
In addition, calling a script every 3 seconds would be pretty tolling on my server, especially if many people are on the same page.
I was looking around for something like a push notification for PHP. Although it seems far-fetched, I'm looking for something that when someone uploads something to the website, the upload script tells the feed page to update.
I saw something called COMET - Although reading through articles/tutorials has confused me even more.
So, what is the best way to implement a constantly updating page?