[TYPO3-dev] Autosave in BE

Martin Kutschker martin.kutschker-n0spam at no5pam-blackbox.net
Wed May 21 12:08:32 CEST 2008


Steffen Kamper schrieb:
> Hi,
> 
> while discussing with Ingo Schmitt at DD08 there was an idea born. After 
> thinking a bit more about i would like to show the idea to you and 
> interested in your opinion.
> 
> IDEA
> 
> When people creating records in BE something can happen where all 
> information get lost, eg
> - lost internet connection
> - browser crash
> - accidental click which loads another view
> 
> So the idea was born to autosave the entries may be any 15 seconds.
> 
> Where to save? Don't use same record, but use a new table with 
> "Shadow"-records. This can be an easy table where all field entries are 
> saved in a serialized way, having pid and record table information as well. 
> When a record is definitive saved the shadow record can be deleted.
> If something happens you have an option to use a shadow record for the table 
> type which recovers unsaved entries

Probably easy for a single record, not that easy when editing multiple 
records (but it could simple be disabled then). Things to watch out are 
file uploads and relations.

And of course the must be some kind of UI to use or discard auto save 
records in case of disaster.

Masi




More information about the TYPO3-dev mailing list