[ZODB-Dev] Notification in client app when object changed?

Christian Theune ct at gocept.com
Thu Jan 25 05:28:15 EST 2007


Am Donnerstag, den 25.01.2007, 09:05 +1000 schrieb David Gould:
> Hi,
>     I'm working on a system where several client apps connect to a ZEO
> server. When an object is changed (via commit) I'd like all the
> clients to be notified so that their gui's can be updated
> automatically. A callback or some other hook that is called in client
> app would be great.
>  
> Any suggestions for implementing this type of functionality? Is it
> possible to be notified on specific object attribute changes, e.g.
> user.firstName, or is it per entire object?

The ZEO protocol sends an invalidation message to all clients when an
object changes. However, you only get the information which object
changed. Your application has to implement a higher-level mechanism to
find out what changed and what it means to your application.

Christian

-- 
gocept gmbh & co. kg - forsterstraße 29 - 06112 halle/saale - germany
www.gocept.com - ct at gocept.com - phone +49 345 122 9889 7 -
fax +49 345 122 9889 1 - zope and plone consulting and development
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
Url : http://mail.zope.org/pipermail/zodb-dev/attachments/20070125/c036a3a1/attachment.bin


More information about the ZODB-Dev mailing list