6.0.0-git
2024-04-26
Last Modified 2005-07-04 by Guest

On this page I try to collect everything on Resource Locking.

The idea

I noticed that there is currently no way horde can tell you that anyone is already editing an item when you try to edit an item (notes, wiki, etc). Kevin Myer asked the same question a few weeks ago on the dev list, but none is working on this. So I decided to solve this problem.

Two ways

There are (a least) two ways how this can be done. Locking The easy one is to lock an item for a certain time when someone starts to edit it. If someone else tryes to edit it, horde will deny this and tell him / her to wait. The contra of this is that only one person can edit one item at one time (not very good for a groupware). Try to merge The better way would be that horde tryes to merge the changes, similar to cvs. If changes cannot be merged, horde will tell the user. I think this is what I'll try.

TODO

  • write Text_Patch to use diff's from Text_Diff
    • write Horde_Resource_Locking to to get, set, delete and purge locks (backend will be datatree)
    • add Method to merge Data
    • do test implementaion in nag

Timeline

  • June, 06th 2005 Idea for this project
    • June, 24th 2005 add TODO, start coding

Contact

Martin Lohmeier <martin AT mein-horde.de>