Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- AJAX web applications examples
Re: AJAX web applications examples
You're right at that. Like rSS feeds, AJAX isn't supposed to be more
efficient at anything. It's more convenient in some situations, that's
all. Until servers can push informations to clients, pulling updates
periodicaly is the only way.
Then again, this is a game, it's allowed to be hingry. The only thing
flying up and down is updates, not whole game states.
For instance. Every 4 seconds it asks the server for an update. And you
get the hit on your ships, your current money and any new chats.
Offcourse if you DO more, you get more replies.
One could argue that instead of getting 10KB worth of HTML at a refresh,
you're getting 10 times 1KB of updates. One can make it as heavy or
light as one wishes.