Question about auto-save

Matthias Rebbe matthias_livecode_150811 at m-r-d.de
Wed May 1 07:37:58 EDT 2019


Is there a Save button the user can click to save the work? If so, i would go with option 3 and save only the last state of the work.
The Save button would allow the users to save their work everytime  they want to, but theycan be assured that at least the last state is saved automatically.

Saving after every change is a bit dangerous if you do not allow to go back to more than one state. Just imagine, the user has done much work and unfortunately does 2 "unwanted" changes and want to go back to the state before of these 2 changes. That would be impossible without  several backups.

But shouldn´t your customer answer this question as the customer should know what option is needed on their side?

Regards,

Matthias



Matthias Rebbe

free tools for Livecoders:
https://instamaker.dermattes.de <https://instamaker.dermattes.de/>
https://winsignhelper.dermattes.de <https://winsignhelper.dermattes.de/>
> Am 01.05.2019 um 12:42 schrieb jbv via use-livecode <use-livecode at lists.runrev.com <mailto:use-livecode at lists.runrev.com>>:
> 
> Hi list,
> I am working on a web app (with LC server-side) in which end users
> will be able to add & manipulate various svg elements to complete
> custom designs.
> My client asked me to implement some kind of auto-save function so
> that users can automatically retrieve the last step of their design
> each time they log on to the site. I am planing to use cgi requests
> to record the svg tags & attributes on the server.
> I was wondering : what is the best way to handle this :
> - send a cgi request every time the user changes something
> - send a cgi request every minute (for instance) and record the
> content of the design at that specific time
> - send a cgi request only when users leave the page or the site,
> and record only the last step of the design during a specific session...
> 
> Thanks in advance for any useful tip & advice.
> Best,
> jbv
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com <mailto:use-livecode at lists.runrev.com>
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode




More information about the use-livecode mailing list