[Zope] command line Zope?
Kyler B. Laird
laird@ecn.purdue.edu
Thu, 15 Feb 2001 09:51:49 -0500
On 15 Feb 2001 16:17:30 +0100 you wrote:
>[Kyler B. Laird]
>
>| In order to provide this, I need a way to run Python such that it
>| connects to the ZODB (perhaps requiring ZEO?) and gives the user
>| access to the database only as a specified user (with the option of
>| manually authenticating to receive additional roles).
>
>Yes, you can use XML-RPC¹.
O.k., this looks like a place to start. I'll look
into it more. Thank you.
>For superuser only usage, you also have
>the medusa debugger (or Zope monitor).
Yeah! That looks like what I want...but for all
users, not just superuser.
>And you also have ZopeShell³.
zopeshell is a shell-like utility to navigate in
a Zope database, add folders, remove objects, and
edit DTML documents and methods with your
favorite Unix text editor.
It appears that zopeshell is an editing
environment, but I want to be able to interact
with my objects through their methods.
% python somewayofspecifyinguser
Python 1.5.2 (#2, Aug 29 2000, 13:57:03) [C] on sunos5
Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
>>> Zope.people.kyler.test()
'This is a test.'
Thank you for the help. If I don't find just
what I need, I think I'm starting to see the
pieces I need to glue together.
--kyler