dajohnson1s
08-24-2009, 06:32 AM
Hello,
I have a few ideas for this already, but I would like to get others opinions/suggestions of how to go about accomplishing this log.
My goal is to make a 'living' log. So when a user deletes something, it is copied there as a 'just in case' kind of thing. Also I want this log to be 'read-only' by the users.
Here are my ideas (in case it matters, I am using php to do this).
1. Create a text file that I append the deleted data along with the user who deleted the data.
2. Make an xml file that stores the above info, but in xml format instead.
3. Store these items in a 'maintenance' table.
To save a couple of back and forths, I will kind of explain what is holding me up on this. My app is a newsletter generator/cms.
So, I have a title, and an id. Then each newsletter has multiple categories, each category can have mutiple articles.
Now, this was all good and well until they would like to remove entire newsletters. That's what made me lean toward the first 2 items I suggested.
Any input (I hope constructive) would be great.
I have a few ideas for this already, but I would like to get others opinions/suggestions of how to go about accomplishing this log.
My goal is to make a 'living' log. So when a user deletes something, it is copied there as a 'just in case' kind of thing. Also I want this log to be 'read-only' by the users.
Here are my ideas (in case it matters, I am using php to do this).
1. Create a text file that I append the deleted data along with the user who deleted the data.
2. Make an xml file that stores the above info, but in xml format instead.
3. Store these items in a 'maintenance' table.
To save a couple of back and forths, I will kind of explain what is holding me up on this. My app is a newsletter generator/cms.
So, I have a title, and an id. Then each newsletter has multiple categories, each category can have mutiple articles.
Now, this was all good and well until they would like to remove entire newsletters. That's what made me lean toward the first 2 items I suggested.
Any input (I hope constructive) would be great.