----- Original Message ----- From: "Berthold Stöger" <blists@bdf-net.com> To: <zope@zope.org> Cc: "Dieter Maurer" <dieter@handshake.de> Sent: Thursday, June 29, 2006 2:35 PM Subject: Re: [Zope] ConflictError with *one* ZEO client?
On Thursday 29 June 2006 18:56, Dieter Maurer wrote:
Good application design would make the conflict probability so low that it is very unlikely that a "ConflictError" propagates to the user.
For more complicated applications this is only possible with locking. Does Zope provide locking primitives?
Or, ideally, something like asynchronous message passing? I would love to be able to start a transaction and, if it finishes in less than x seconds, tell the user the result or, if it hasn't finshed by then, that the transaction is being processed, please come back later.
If you are interested in async programming with zope have a look at twisted, here's some info: http://twistedmatrix.com/projects/core/documentation/howto/index.html Jonathan