Helpful Information
 
 
Category: Other server side languages / issues
ZOPE/Python: Anyone familiar with it? Need help

I've just discovered ZOPE (www.zope.org ), and I like it. Now if only I knew Python...

I need some help coding into ZOPE some features that I like. If you're familiar with ZOPE and willing to help, please let me know! :)

If you know Python, ZOPE may be a good platform for you and I to experiment on.

I program in zope. What were you wanting to do

wabirdman

Well, I'd like to see about extending a couple of the base classes -- most notably File and Folder. But I don't want to replace File and Folder.

What do you want to add to them?

In case you didn't know the "classes" as you refer to them are called products. You can see them stored at (inside Zope management screen):

/Control_Panel/Products/OFSP/Help

You can get all sorts of products from http://www.zope.org or if you understand Python then you can write your own.

The Products are stored in these directories:

Windows Machine:
C:\Program Files\Zope\lib\python\

Linux Machine:
/usr/local/Zope/'instance Name'/2-3-3/lib/python/

(instance name is whatever you called it. 2-3-3 is the version you have installed)

I recommend making a copy of the original before playing with it (I know this common sense, but best to put the friendly reminder in :))

Hope this helps a bit

wabirdman

:cool: Nothing I didn't already figure out, with some help from friends on Mozilla irc. But the advice rings true.

As for what I would want to add (again, I'd rather create new Products that extend those Products), I'm thinking of a few things, such as who uploaded the file, when it was uploaded, etc.

For the File product, I'd really like to be able to dump the contents in as a textarea as an alternative to the file upload button.


I also really dislike the interfaces within Zope, and wonder how hard it would be to design interfaces that use JavaScript to create "multiple file upload" interfaces. I can do the JS and XHTML easily. It's the server-side Python stuff that's hard. :-D

For the File product, I'd really like to be able to dump the contents in as a textarea as an alternative to the file upload button.

This would require having to make changes to the file.py file (or create your own one). I am not very strong with Python either so I won't be able to help you there.




I also really dislike the interfaces within Zope, and wonder how hard it would be to design interfaces that use JavaScript to create "multiple file upload" interfaces. I can do the JS and XHTML easily. It's the server-side Python stuff that's hard.

I have never tried this either. But I know this, when you create your own product (we are lucky enough to have a python programmer here at work) you can make the screen look like however you want it to.

wabirdman










privacy (GDPR)