Google drive-like Autosave

My users are pushing more and more for an experience like Google Docs for their data entry (no “Edit”, “Save”, or “Cancel” buttons, data entry pages come up in “Edit Mode” automatically. Does this really involve calling a PUT/POST on every keystroke? How does validation fit into a scheme like this?

You’d want to throttle the Ajax requests by using a debounce function so the save only gets triggered after a pause in typing, e.g. after 1-3s.

I’d assume Google would do something clever like only sending deltas across for each save request, but for simplicity you’d probably want to send the entire Request again.