[Zope] change properties in external methods (was get properties ....)

Elena Schulz elena.schulz@gmx.net
Tue, 26 Nov 2002 10:45:58 +0100


Hi Dieter,

the slow motion is due to the many requests I do adding all the properties.
So how to create one object or let a custom action create all the objects in
a minimum of requests? Can you give some more hints about how to set an
object with all the properties and how to transmit it via urllib so I can
find a start to do it more efficient?

-- many thanks for your replies, Elena

----- Original Message -----
From: "Dieter Maurer" <dieter@handshake.de>
To: "Elena Schulz" <elena.schulz@gmx.net>
Sent: Tuesday, November 26, 2002 8:31 AM
Subject: Re: [Zope] change properties in external methods (was get
properties ....)


> Please stay on the list...
>
> Elena Schulz writes:
>  > now I managed to deal with urllib. But whats about speed? Urllib is
quite
>  > slow. Is there a change to improve the speed adding a couple of objects
with
>  > properties via http? Maybe by adding a matrix of properties in one
blow?
> I would not expect that "urllib" makes it much slower (unless
> you edit properties one after the other).
>
> I would create one object than update all its properties (in 2 HTTP
> requests).
>
> Of course, when you have hints that its the HTTP roundtime that
> makes things slow, you can pack all data in a single request
> and let a custom action create all the objects.
> However, it is much more work to do.
>
>
> Dieter
>