How would you implement a data synchronization solution that ensures data on a mobile device and web server are in sync.
Take a look to this tutorial (part one and part two), basically what they do is add a timestamp attribute storing the last modifications. It is developed to synchronize with the parse.com backend service but it is extendable to any backend.