2009/1/4 Vincent Massol <[email protected]>

> ...... Do you have a use case for
> transactions at the model level?
>

If I look at xWiki as a generic programming platform then yes. To mention a
very simple example that I have in my mind for our own use in the near
future:

We have corporate documents. Each document has a unique id, and this id has
to contain a number that is a serial number starting from 1 to X during a
year. If there is a document numbered N then there should be one numbered
N-1, in other word there should be no gaps. For example existence of the
document 'contracts/2009/10' ensures that there is a 'contracts/2009/9'. To
allocate these numbers needs transactional support to ensure that no two
documents get the same number as well as no id remains without document.

Even though I have not too much experience with xWiki, only starting it.

-- 
Verhás Péter
CEO
Verhás & Verhás Szoftver Manufaktúra Kft.
[email protected]
t: +36(30)9306805
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to