MrFish Posted July 8, 2009 Share Posted July 8, 2009 I'm not sure if what chat boxes are written in. I could make my own chatbox if it was something like javascript/ajax, but I'm not going to get into things like java (I've got a class when school starts). What do they use to make chat boxes? If it's javascript, do I need to use ajax to get the information every second? Could this bog down the computers performance? Link to comment Share on other sites More sharing options...
justsomeguy Posted July 8, 2009 Share Posted July 8, 2009 Most of them use ajax. If you're going to do that, have it send a request for updates no more frequent than once every 2 seconds. Once every 5 or 10 seconds would be better. If it's lower than 2 seconds you run the risk of stalling the browser if the requests take longer than 2 seconds to come back. Link to comment Share on other sites More sharing options...
MrFish Posted July 8, 2009 Author Share Posted July 8, 2009 Ok, thank you Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.