[Zope] ZupLoader and change properties in external methods

Oliver Bleutgen myzope@gmx.net
Thu, 28 Nov 2002 17:06:14 +0100


Elena Schulz wrote:
> Hi Tino again,
> 
> now after the message of Ausum I understand the option to improve my
> ZupLoader :-)
> I have to pack the object data with the property-info transferred to a
> string send it in one or may be two
> http-requests to a remote dispacher-script (should be just a script nothing
> else) that unpacks the property-info and create an object with the
> properties on the remote zope.
> 
> So if your functionpair is ready for packing and transferring the
> property-info via formdata etc. I would be happy to use it for this purpous.
> 
> But I don't understand the security issue here. For the upload I need to
> login as Manager. The unpacker will need the proxy Manager too. Of course
> the transfer of the login-info is a critical point as I cannot use https.
> But thats the same with normal login which is done via http. So were is the
> extra problem?
> 
> Is there no other solution to send an object packed with all property-info
> that can be unpacked just by a Python Script? May be _setObject(), _getOb()
> or the like?


Hmm, am I blind or are you reinventing the wheel? Isn't that what you 
want to do (and more) solved already by ZSyncher?
Maybe you'll be at least able to get some ideas from its source.


cheers,
oliver