[Zope] Scripting rather than using the management GUI ...
Michel Pelletier
michel@digicool.com
Thu, 15 Jul 1999 09:58:52 -0400
> -----Original Message-----
> From: Darran Edmundson [mailto:Darran.Edmundson@bigfoot.com]
> Sent: Thursday, July 15, 1999 4:49 AM
> To: zope@zope.org
> Subject: [Zope] Scripting rather than using the management GUI ...
>
>
>
> Can I bypass the management GUI and just use python
> scripts to make changes to my Zope Object Database?
> For example, I'd like to traverse my entire database
> correctly setting the height and width properties of
> all images. I'll give myself RSI doing this via the
> GUI. The other option that I can see is to write
> an external method, put this in the root folder, and
> call it through the management interface. The last
> step seems gratuitous and I'm left feeling that there
> must be a simpler solution.
>
Calling it seems gratuitous? If you wrote a script that changed your
filesystem, at some point you'd have to call it to do the actual
changing. Think of calling an ext method from the management screen
'running' a script. Zope is entirely event based, a request has to
happen for any code to run.
-Michel
> Cheers,
> Darran.
>
> --
> Darran Edmundson
> dEdmundson@bigfoot.com
>
> _______________________________________________
> Zope maillist - Zope@zope.org
> http://www.zope.org/mailman/listinfo/zope
>
> (For developer-specific issues, use the companion list,
> zope-dev@zope.org - http://www.zope.org/mailman/listinfo/zope-dev )
>