The best public example I can think of with my head would be an Amazon shopping basket. If you have a page that displays several different entries that may contain several different fields.
I can’t put each in the form tag because the user can change several entries and then submit.
I can’t just update all the records that I return, because:
1. Performance
2. Audit
3. If someone changed the record that the user “did not change” when they viewed the page, and then the user posted these changes, there will be overwritten.
So, what is the best way to process the data and then get which records have changed from this?
It is clear?
source
share