hi all
i am trying to build a utility that will retrieve the latest data from the backend, display it to the user, and update automatically if any changes are made to the database.
that probably isn't all too clear, so here is a simple example: suppose there is one record in the db "abcd" -> as soon as someone changes that to "efgh", the user witnesses the update without doing anything.
now i've figured out a few of ways to do this (implemented a few of these, have confidence that i would be able to do the others):
1. simple browser refresh
2. iframe/frame with browser refresh
3. update DIV content using javascript (replaces innerHTML with reference to appropriate PHP file)
4. applet streams data from MySQL
5. flash streams data from MySQL
now the question... is there any other way to do it? i know that seems like an odd question to ask since there are so many ways to do it as shown above, but it's a long story. 🙂
i appreciate any help that anyone out there could give. i hope i was clear enough. thanks in advance!
-jaspal-