[Zope] propagation of changes programmatically?

Martijn Pieters mj@antraciet.nl
Tue, 24 Aug 1999 09:35:07 +0200


At 01:04 24/08/99 , Conceptron wrote:

>Hi,
>
>
>Is there a way to propagate changes from one Zope server to another?
>
>
>For example, say there is a Development (D) and Production (P) Servers. Is
>there a way to programmatically propagate all the changes From D to P on a
>defined schedule (say nightly)? Can it all be done from within Zope using
>DTML?

You could use the find machinery to find all objects that have been 
modified since your last update, and use XML-RPC or ZClient to copy your 
changes to the other server. This can be done with DTML, but I would use 
ZClient for this. You need ZClient anyway to run it on a scheduled basis.

--
Martijn Pieters, Web Developer
| Antraciet http://www.antraciet.nl
| Tel: +31-35-7502100 Fax: +31-35-7502111
| mailto:mj@antraciet.nl http://www.antraciet.nl/~mj
| PGP: http://wwwkeys.nl.pgp.net:11371/pks/lookup?op=get&search=0xA8A32149
------------------------------------------