[Zope] FYI: Portal Toolkit Slides and Demo available
Ty Sarna
tsarna@endicor.com
13 Jun 1999 17:14:30 GMT
In article <4.1.19990613122905.00acb830@mail.atmm.nl>,
Martijn Pieters <mj@antraciet.nl> wrote:
> See above remark on the interactive debugger. Not too hard to do, but we'll
> need multithreading to keep the rest of Zope moving. Oh, Zope 2 has that.
Since ZServer is growing fluent in a number of protocols already, how
about telnet?
[insert "wavy screen effect used to indicated dreams on TV" here]
$ telnet zserver.my.net
Trying 1.2.3.4...
Connected to zserver.my.net.
Escape character is '^]'.
ZServer 2.1.0
login: tsarna
Password:
zope> help
Availible commands:
python -- interactive python
debug -- interactive debugger
quit -- log off
zope> python
Python 1.5.2 (#1, Apr 14 1999, 00:04:15) [GCC egcs-2.91.60 19981201
(egcs-1.1.1 release)] on netbsd1
Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
>>> # here you have a live access to the python interpreter in zope.
... # examine variables, call functions, try things interactively, etc.
...
>>> ^D
zope> debug
enter request url: http://zserver.my.net/some/request
> <string>(0)?()
(Pdb) # trace an individual request -- perhaps should be other modes
(Pdb) quit
zope> quit
Connection closed by foreign host.
[wavy screen]
Perhaps the shell could even allow one to cd around, mv/rm/cp objects,
etc.
Sounds pretty outrageous, but then so is the ability to FTP into an
object database!