Why no wiki'ing ??

Shawn Pearce spearce@REDACTED
Thu Feb 6 18:58:05 CET 2003


Joe, you could always pull the trick I'm doing at work for concurrent
updates:  save a checksum of the original page in a hidden field while
the user is editing.  If the checksum no longer matches when the user
submits, show both boxes on a single page and let them merge by hand.
Or throw them off into a diff process and show the user the patch for
them to merge by hand.

At least one user knows the file changed while they were busy getting
coffee with the editor open, and that saving their stuff could lose
other work.  :)

Horrible design, but such a quick hack to insert.

Joe Armstrong <joe@REDACTED> wrote:
>   I did  write a version that  gave you a  lock for a few  minutes but
> it's not that easy ...

-- 
Shawn.




More information about the erlang-questions mailing list