developing with zope, vim, cvs and cadaver
I've just recently learned zope, and it is great. Far better than J2EE, and faster to work with than plain old CGI. I've got a few difficulties, though. I use vim as my primary editor, and I would like to use cvs to backup my work. I can do this with ZPT and Script objects, but it is rather cumbersome to repeatedly upload the files through the web interface. In addition, I can't do that with ZSQL methods. As I was RTFMing, I discovered that I should be able to use cadaver to move files/objects between the local filesystem (where I use vim and cvs to work with them) and the ZODB. I can access ZPT and Script sources with cadaver, but I can't seem to upload changes with it. I also can't access or update ZSQL methods. Am I missing something really obvious, or is it just very difficult to develop a zope site using some traditional tools? TIA, -D PS. ftp isn't a viable option for this site -- Consider what God has done: Who can straighten what He has made crooked? Ecclesiastes 7:13
I just use an ftp client (gftp) for doing my Zope->Filesystem transfers. I've wanted to look into WebDAV, but I'm really busy right now, and FTP works, so I'm going with that. And it works with any Zope object. On Wed, 2002-04-17 at 09:33, dman wrote:
I've just recently learned zope, and it is great. Far better than J2EE, and faster to work with than plain old CGI.
I've got a few difficulties, though. I use vim as my primary editor, and I would like to use cvs to backup my work. I can do this with ZPT and Script objects, but it is rather cumbersome to repeatedly upload the files through the web interface. In addition, I can't do that with ZSQL methods.
As I was RTFMing, I discovered that I should be able to use cadaver to move files/objects between the local filesystem (where I use vim and cvs to work with them) and the ZODB. I can access ZPT and Script sources with cadaver, but I can't seem to upload changes with it. I also can't access or update ZSQL methods.
Am I missing something really obvious, or is it just very difficult to develop a zope site using some traditional tools?
TIA, -D
PS. ftp isn't a viable option for this site
--
Consider what God has done: Who can straighten what He has made crooked? Ecclesiastes 7:13
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
-- Colin Fox cfox@crystalcherry.com CF Consulting Inc. GPG Fingerprint: D8F0 84E7 E7CC 5C6C 9982 F1A7 A3EB 6EA3 BC97 572F
On Wed, Apr 17, 2002 at 11:11:43AM -0700, Colin Fox wrote: | On Wed, 2002-04-17 at 09:33, dman wrote: | [...] | > As I was RTFMing, I discovered that I should be able to use cadaver to | > move files/objects between the local filesystem (where I use vim and | > cvs to work with them) and the ZODB. I can access ZPT and Script | > sources with cadaver, but I can't seem to upload changes with it. I | > also can't access or update ZSQL methods. | > | > Am I missing something really obvious, or is it just very difficult to | > develop a zope site using some traditional tools? | | I just use an ftp client (gftp) for doing my Zope->Filesystem transfers. | I've wanted to look into WebDAV, but I'm really busy right now, and FTP | works, so I'm going with that. I'm not the admin of the production machine zope is on, so ATM I can't use ftp on it. That's why I was looking at WebDAV. Hmm, I wonder if wget can PUT to the system? (I know vim doesn't support that at the moment, though I expect I can easily swap 'ftp' for 'cadaver' in the plugin) | And it works with any Zope object. On my test system I saw that I could use ftp to get at ZSQL methods. Maybe WebDAV just isn't up to snuff? -D -- If any of you lacks wisdom, he should ask God, who gives generously to all without finding fault, and it will be given to him. But when he asks he must believe and not doubt, because he who doubts is like a wave of the sea, blown and tossed by the wind. James 1:5-6
On Wed, 17 Apr 2002, Colin Fox wrote:
I just use an ftp client (gftp) for doing my Zope->Filesystem transfers. I've wanted to look into WebDAV, but I'm really busy right now, and FTP works, so I'm going with that. The problem of using FTP in my opinion is that you get no useful error messages in case of syntax errors. It is just refused by the Zope server. :-(
And it works with any Zope object. I had only success for DTML-like objects and folders.
Kind regards Andreas.
participants (3)
-
Colin Fox -
dman -
Tille, Andreas