Greetings I am a Zope newbie but have been using python for a little while. I am a member of the team responsible for rebuilding my departments webiste. I have suggested that we create a portal site and use a CMS and other some-such. In order to do this I have also suggetsted that we use zope. There is however one outstanding issue, -command line access. I live in *nix land and often times people do not have access to (or want to use) graphical interfaces. From what I have seen of zope already everything is done through the browser. So these are my questiions: Does zope have any kind of back door so that pages can be edited with vi or emacs? Is there command line access to the zope server database? Has any one used such tools or created them if they do not already exist? Thanks very much for your comments -matthew
A fwe things to help... There are a few tools that save things (files, objects) in the directory instead of the ZODB (Data.fs) at which point you can edit them directly with whatever editor your want. http://www.zope.org/Members/MacGregor/ExtFile For command line Zope, I know you can start up the Zope monitor on a port can get into Zope that way. You can also play around with Zope objects from the Python command line (importing the objects you need). BZ
Greetings I am a Zope newbie but have been using python for a little while. I am a member of the team responsible for rebuilding my departments webiste. I have suggested that we create a portal site and use a CMS and other some-such. In order to do this I have also suggetsted that we use zope. There is however one outstanding issue, -command line access. I live in *nix land and often times people do not have access to (or want to use) graphical interfaces. From what I have seen of zope already everything is done through the browser. So these are my questiions:
Does zope have any kind of back door so that pages can be edited with vi or emacs?
Is there command line access to the zope server database?
Has any one used such tools or created them if they do not already exist?
Thanks very much for your comments -matthew
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Matthew Thorley wrote:
Does zope have any kind of back door so that pages can be edited with vi or emacs?
Is there command line access to the zope server database?
For remote command-line access, you can access Zope via FTP and/or WebDAV. - Michael Bernstein
Take a look at the External Editor product. It allows editing through vi. On Sat, 27 Sep 2003, Michael Bernstein wrote:
Matthew Thorley wrote:
Does zope have any kind of back door so that pages can be edited with vi or emacs?
Is there command line access to the zope server database?
For remote command-line access, you can access Zope via FTP and/or WebDAV.
- Michael Bernstein
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
On Sat, Sep 27, 2003 at 06:44:51AM -0600, Matthew Thorley wrote:
Is there command line access to the zope server database?
See "Conversing with Zope: Interactive Debugging With the Python Prompt". http://www.zope.org/Members/klm/ZopeDebugging/ConversingWithZope The approach given there depends on using ZEO, but it's worth setting up ZEO for this purpose even if your Zope applications don't otherwise justify using ZEO. -- Fred Yankowski fred@ontosys.com tel: +1.630.879.1312 OntoSys, Inc PGP keyID: 7B449345 fax: +1.630.879.1370 www.ontosys.com 38W242 Deerpath Rd, Batavia, IL 60510-9461, USA
On Sat, Sep 27, 2003 at 06:44:51AM -0600, Matthew Thorley wrote:
Does zope have any kind of back door so that pages can be edited with vi or emacs?
FTP, web-DAV, or (my favorite) ExternalEditor (google for that). -- Paul Winkler http://www.slinkp.com Look! Up in the sky! It's THE COSMONAUT! (random hero from isometric.spaceninja.com)
If you use emacs, you can connect directly using ftp. See the Zope Book for details. On Sat, 27 Sep 2003, Paul Winkler wrote:
On Sat, Sep 27, 2003 at 06:44:51AM -0600, Matthew Thorley wrote:
Does zope have any kind of back door so that pages can be edited with vi or emacs?
FTP, web-DAV, or (my favorite) ExternalEditor (google for that).
--
Paul Winkler http://www.slinkp.com Look! Up in the sky! It's THE COSMONAUT! (random hero from isometric.spaceninja.com)
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
On Sat, Sep 27, 2003 at 05:59:57PM -0700, Dennis Allison wrote:
If you use emacs, you can connect directly using ftp. See the Zope Book for details.
I wish Emacs does FTP/TLS. Then I can work on my remote Zopes (powered by ZServerSSL) using that. -- Ng Pheng Siong <ngps@netmemetic.com> http://firewall.rulemaker.net -+- Manage Your Firewall Rulebase Changes http://sandbox.rulemaker.net/ngps -+- Open Source Python Crypto & SSL
The printed edition of the Zope Book gives instructions on pp 32-33. The equivalent on-line edition is for Zope 2.5. I scanned the 2.6 edition of the book, but didn't find the equivalent information. On Sun, 28 Sep 2003, Ng Pheng Siong wrote:
On Sat, Sep 27, 2003 at 05:59:57PM -0700, Dennis Allison wrote:
If you use emacs, you can connect directly using ftp. See the Zope Book for details.
I wish Emacs does FTP/TLS. Then I can work on my remote Zopes (powered by ZServerSSL) using that.
-- Ng Pheng Siong <ngps@netmemetic.com>
http://firewall.rulemaker.net -+- Manage Your Firewall Rulebase Changes http://sandbox.rulemaker.net/ngps -+- Open Source Python Crypto & SSL
Greetings I am a Zope newbie but have been using python for a little while. I am a member of the team responsible for rebuilding my departments webiste. I have suggested that we create a portal site and use a CMS and other some-such. ... Does zope have any kind of back door so that pages can be edited with vi or emacs?
If you indeed want to use a CMS, you can take a look at CMF and Plone. The CMF framework uses a skins system to build it's presentation layer, and skins can come from either the filesystem of from TTW ZODB-resident objects.
Is there command line access to the zope server database?
Yep, and it's neat. Using:: zctl.py debug you can get live access Zope from a Python shell. Described here: http://www.zope.org/Members/dshaw/AdvancedSiteSetup Also there is ZShell, which should give you a Unixish shell into a live Zope. http://www.zope.org/Members/jerome_alet/zshell --jcc -- "My point and period will be throughly wrought, Or well or ill, as this day's battle's fought."
On Mon, Sep 29, 2003 at 09:38:05PM -0500, J. Cameron Cooper wrote:
Is there command line access to the zope server database?
Yep, and it's neat. Using::
zctl.py debug
you can get live access Zope from a Python shell.
yes - but the o.p. should note that it's a python interactive shell, not a unix shell. So you have the full power of python at your disposal (yay!) but not your favorite text editor, grep, tar, etc etc.
Described here: http://www.zope.org/Members/dshaw/AdvancedSiteSetup
Also there is ZShell, which should give you a Unixish shell into a live Zope. http://www.zope.org/Members/jerome_alet/zshell
yep, very handy. "unixish" being the operative word. not as convenient as a real interactive unix shell, and the command options are peculiar to zope, but very valuable nonetheless. Another thing that might be worth looking into: davfs. Zope speaks webdav so it should work. I have not tried it myself. -- Paul Winkler http://www.slinkp.com Look! Up in the sky! It's TEDIOUS PROGRAMMER MAJOR! (random hero from isometric.spaceninja.com)
participants (8)
-
BZ -
Dennis Allison -
Fred Yankowski -
J. Cameron Cooper -
Matthew Thorley -
Michael Bernstein -
Ng Pheng Siong -
Paul Winkler