   [web] multi-user web games & server push
  Hello EveryoneI was looking to build a web game with multi users, I'm building with JS on client side and PHP server side.. I was wondering what is the optimal way for each client to get updated with information with new data in the database(for example when another player does something), is the only way to loop in the php script until database is updated(AKA "long polling") this seem weird to me..each user will spam the database with queries for updates..is there another way?   
  I dont know but you might be able to use AJAX.  I dont think it is a good idea to use &#106avascript, you should use java.  I think java can do stuff like that.What about mysql? You could keep updating a table but that would use up alot of ram and cpu.  I will look it up and post an idea if i find one.   ;  These sites may help:http://www.physicsforums.com/showthread.php?t=163384http://webscripts.softpedia.com/script/Games/PHP-MMORPG-32304.htmlhttp://sourceforge.net/projects/php-mmorpgI like the idea of the "http://sourceforge.net/projects/php-mmorpg" one, that seems to be a good idea.  You could change most of he stuff in it.Thats all i have, i will keep on posting if i find anything. :)   ;  http://www.zeitoun.net/articles/comet_and_php/starthttp://webreflection.blogspot.com/2008/04/phomet-php-comet-tiny-library.htmlI would look at using http://www.orbited.org/Chris   