How can I apply Comet / Server push design patterns using PHP and Javascript? Basically what I want to do:
- The user clicks on a 'Submit' button
- JavaScript shows a message like 'processing 0/100 item'
- Once a new item is processed, php / server pushes an update, and javascript changes the message to '2/100 items processing, 3/100 items and so on'.
How can I do this? Any links / info please?
No comments:
Post a Comment