Forum Moderators: coopster
1. Is there a better way to insert/delete data in XML files?
2. Will this be an issue if the amount users increases? Data is inserted/deleted per user request, so if some users make different edits simultaneously, will the files get messed up? Is there a way to query these requests?
Thanks.
Should I just forget the XML method and search directly in the database? Will slow the server down by too much? Because it seems although reading an XML is fast (duh), but the whole updating process is unreliable.
Had another idea.. Instead of the XML files updating whenever a new post is added by users, maybe I should write a routine that updates the file at some interval of time. So new posts are stored in the database and 'become visible' in searches in a little bit..?
Thanks.