Re: [Zope] Zope and Editors
Stephan Richter wrote But here my question: I do not want to use a HTML textarea to edit my code. I prefer to use emacs. How do you use external editors with Zope? Do you import files all the time? Or do you copy and paste? Both of these solutions are not desirable, since I check my code every few minutes. I would spend more time uploading to the system.
couple of options here (hmm, these should be pulled out of the email archive and turned into a HOWTO - no, don't look at me :) (note that I talk zero credit (or blame) for any of the following ideas) * Zope allows you to ftp in and upload DTML and images and the like. emacs allows you to edit files on a remote ftp filesystem, using EFS (?) (someone who uses this please give me a sample of emacs syntax?) You could also use any other form of ftp browser/text browser that allows you to transparently edit remote files via ftp - I'd be suprised if KDE or GNOME didn't have this. * Zope has Webdav support - does emacs? IE5 does (well, if you read the zope-checkins list and see Brian's commit messages, IE5 sorta has webdav support) * Netscape's HTML textarea widget has some limited number of emacs keybindings. This is what I use, because I hate the full emacs with a passion. If mozilla allowed me to embed nvi (the OneTrueVi) into a html textarea widget, I'd be a happy bunny :) * You could write something that let you edit text files, and batch uploaded (either via ftp, or via the Zope Client interface) the files. Anyone else got other bits to add? Anthony -- Anthony Baxter <anthony@interlink.com.au> It's never too late to have a happy childhood.
But here my question: I do not want to use a HTML textarea to edit my code. I prefer to use emacs. How do you use external editors with Zope? Do you import files all the time? Or do you copy and paste? Both of these solutions are not desirable, since I check my code every few minutes. I would spend more time uploading to the system.
couple of options here (hmm, these should be pulled out of the email archive and turned into a HOWTO - no, don't look at me :) (note that I talk zero credit (or blame) for any of the following ideas)
* Zope allows you to ftp in and upload DTML and images and the like. emacs allows you to edit files on a remote ftp filesystem, using EFS (?) (someone who uses this please give me a sample of emacs syntax?) You could also use any other form of ftp browser/text browser that allows you to transparently edit remote files via ftp - I'd be suprised if KDE or GNOME didn't have this.
Oh, now I know what you mean. I forgot that zope opens an FTP client at 8021 by default. :) (I am still new to the product.)
* Zope has Webdav support - does emacs? IE5 does (well, if you read the zope-checkins list and see Brian's commit messages, IE5 sorta has webdav support)
* Netscape's HTML textarea widget has some limited number of emacs keybindings. This is what I use, because I hate the full emacs with a passion. If mozilla allowed me to embed nvi (the OneTrueVi) into a html textarea widget, I'd be a happy bunny :)
* You could write something that let you edit text files, and batch uploaded (either via ftp, or via the Zope Client interface) the files.
Thanks for the ideas. Zope is on the same machine I develop on. So if I could find the directory the files reside, I could save them directly there. The problem: I could not find the files. Do the method, objects and documents reside in a DB or the file system? stephan -- Stephan Richter iXL - Software Designer and Engineer
At 16:43 03/08/99 , Stephan Richter wrote:
Thanks for the ideas. Zope is on the same machine I develop on. So if I could find the directory the files reside, I could save them directly there. The problem: I could not find the files. Do the method, objects and documents reside in a DB or the file system?
They are persistant objects in a ODB, the ZODB 3, in var/Data.fs usually. This ODB also holds all previous transactions, giving you full undo. -- Martijn Pieters, Web Developer | Antraciet http://www.antraciet.nl | Tel: +31-35-7502100 Fax: +31-35-7502111 | mailto:mj@antraciet.nl http://www.antraciet.nl/~mj | PGP: http://wwwkeys.nl.pgp.net:11371/pks/lookup?op=get&search=0xA8A32149 ------------------------------------------
hallo stephan, all objects reside in a database, it's the file Data.fs in the var subdirectory of your Zope installation directory. using some form of unix, that is. can't say much about what it looks like on windoze. and i don't want to know ;) jens Jens Vagelpohl Systems Administrator Washtenaw Development Council
-----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Stephan Richter Sent: Tuesday, August 03, 1999 10:44 To: Anthony Baxter Cc: zope@zope.org Subject: Re: [Zope] Zope and Editors
Thanks for the ideas. Zope is on the same machine I develop on. So if I could find the directory the files reside, I could save them directly there. The problem: I could not find the files. Do the method, objects and documents reside in a DB or the file system?
stephan -- Stephan Richter iXL - Software Designer and Engineer
On Tue, 3 Aug 1999, Jens Vagelpohl wrote:
hallo stephan,
all objects reside in a database, it's the file Data.fs in the var subdirectory of your Zope installation directory. using some form of unix, that is. can't say much about what it looks like on windoze. and i don't want to know ;)
Windows is the same. Look in /data/*.fs Cheers, Anthony Pfrunder
On Wed, 4 Aug 1999, Anthony Baxter wrote:
Stephan Richter wrote But here my question: I do not want to use a HTML textarea to edit my code. I prefer to use emacs. How do you use external editors with Zope? Do you import files all the time? Or do you copy and paste? Both of these solutions are not desirable, since I check my code every few minutes. I would spend more time uploading to the system.
couple of options here (hmm, these should be pulled out of the email archive and turned into a HOWTO - no, don't look at me :) (note that I talk zero credit (or blame) for any of the following ideas)
* Zope allows you to ftp in and upload DTML and images and the like. emacs allows you to edit files on a remote ftp filesystem, using EFS (?) (someone who uses this please give me a sample of emacs syntax?) You could also use any other form of ftp browser/text browser that allows you to transparently edit remote files via ftp - I'd be suprised if KDE or GNOME didn't have this.
Can you edit SQL Methods through FTP yet? Last time I checkd you could only do Images and DTML Methods/Documents. --------------------------------------------------- - Scott Robertson Phone: 714.972.2299 - - CodeIt Computing Fax: 714.972.2399 - - http://codeit.com - ---------------------------------------------------
participants (6)
-
Anthony Baxter -
Anthony Pfrunder -
Jens Vagelpohl -
Martijn Pieters -
Scott Robertson -
Stephan Richter