I'm playing around with building a simple chat room and I've read a bunch of tutorials... there seems to be some discrepancy in what the best practice is.
Would I be better off storing the chat messages in an indexed table, or is it better to store the rooms chat messages in a string as a server variable that is passed back? I figured storing in a table that is periodically "cleaned out" would be best, but wanted others thoughts on this.
Would I be better off storing the chat messages in an indexed table, or is it better to store the rooms chat messages in a string as a server variable that is passed back? I figured storing in a table that is periodically "cleaned out" would be best, but wanted others thoughts on this.