Advice on simple efficient way to store web form data when no db/auth required
I have a situation where I need to provide an efficient way to process and store comments submitted via a web form. I would normally use PHP and either MySQL or XML to store the data, but this is slightly different in that this web form will only be temporarily available in a closed LAN environment, and all i need to do is process the form data and store it a format which can be acc开发者_如何学Goessed by another application on the LAN (Adobe Director). Each request made by the Director app should pop the stack of data. I'm wondering how best to store the data for this type of situation as it's not something I would normally do. I'm thinking possibly storing the data in an XML file, but any advice would be great!
This will depend upon the data structure and the types of possible queries on the data. If you need the data as a single unit (without any specific query inside) and you don't have to open the meta data, you might even think of some binary serialization. If the data need to be highly interoperable, XML will be a good choice.
精彩评论