okendoze;1025064 wrote:I guess nobody at WebDeveloper has any experience with Ajax chatrooms.
That's because this isn't a JavaScript question. This is a data storage question.
A few ideas out there for you. XML is certainly very fast, but it can become problematic as your chat session grows. XML isn't exactly fast for storing huge sets of data.
For instance, if you wanted to keep the chat logs of 2 users for an entire year, multipled by the number of users you have (as each user could end up speaking to each other users) you quickly have a very large data set.
I would use MySQL for this sort of thing, but why not have the best of both worlds?
As long as you design your chat program correctly you should be able to pull chat sessions out of MySQL or XML with ease. Just make sure your data layer is well thought out, and if you find out that MySQL or XML isn't the way it's easy to swap data sources.