I'm actually working on a webApp, and i want to simulate the TRASH concept, so each element deleted from the application will disappear, but remain for the administrator in the trash area so he can confirm its deletion.
I've suggested to add an attribute IsArchived
with the Boolean type, so it can indicate if the element is deleted or not, but it appears that this method is old fashioned, and I think that it will deteriorate the performances of the app ... so is there any paradigm or method I can use to simulate this principle and optimizing the performance of the app ?
PS : I'm Using MYSQL as a database.