to class or not to class?
I reckon that: 1) Without ZClasses, I am lost 2) Without external methods using ZClasses, I am lost 3) to make 1) and 2) happen, I need to create new products hence 4) I need to ask my provider to let me install my own products (at a premium, of course, because it's a zope virtual server for me alone). Right? Why is it so? Is it a philosophical, political or technical choice? And again, sorry to bother you, but where can I understand the difference (and moral implications) between Python Methods and External Methods? I've read in the mailing list archive about some problems between Ext. Meth. and ZClasses, I can't find the post anymore. At the time, I didn't know that I needed ZClasses. Is there any truth? Thanks! Thanks! Thanks! Thanks! (in particular to DigiCool for adding some spice to our lives!)
Hi Marco ! Marco Mariani wrote:
I reckon that:
1) Without ZClasses, I am lost
why ?
2) Without external methods using ZClasses, I am lost
why ?
3) to make 1) and 2) happen, I need to create new products
You can do 1) from the management interface. To make 2) you need access to the import directory on the server
hence
4) I need to ask my provider to let me install my own products (at a premium, of course, because it's a zope virtual server for me alone).
It would be sufficient to ask for the right to install External Methods, but I guess for the provider this makes not much of a difference.
Right?
Why is it so? Is it a philosophical, political or technical choice?
Accessing the file system is always a security issue. Using many ressources that are only available from Python in External Methods or Products can considerably slow down the machine of your provider depending of what you are doing in them.
And again, sorry to bother you, but where can I understand the difference (and moral implications) between Python Methods and External Methods?
Python Methods run in a protected area, where it is impossible to do much harm.
I've read in the mailing list archive about some problems between Ext. Meth. and ZClasses, I can't find the post anymore. At the time, I didn't know that I needed ZClasses. Is there any truth?
Just leave out the External Methods, and go with just ZClasses. (I have done it with the ZDP-Tools that run zdp.zope.org)
Thanks! Thanks! Thanks! Thanks! (in particular to DigiCool for adding some spice to our lives!)
Yep Greetings, Maik Röder
----- Original Message ----- From: "Marco Mariani" <m.mariani@imola.nettuno.it> To: <zope@zope.org> Sent: Wednesday, April 19, 2000 6:37 PM Subject: [Zope] to class or not to class?
4) I need to ask my provider to let me install my own products (at a premium, of course, because it's a zope virtual server for me alone).
This is not necessarily the case... ZClass Products (and External Methods) are not the same as Python Products... they install differently, and you may be able to do this with your existing set up (depends on your provider).
And again, sorry to bother you, but where can I understand the difference (and moral implications) between Python Methods and External Methods?
PythonMethods are written in python, but the code is interpreted with the same security restrictions as DTML. The belief is that code edited through the web should not be able to give people access to the machine or to structures that would allow them to manipulate Zope's security mechanisms. So, in DTML and PythonMethods you cannot write to files, do things like foo['bar'] = 'baz', etc. External Methods are unrestricted python, and can't be installed via the web.
I've read in the mailing list archive about some problems between Ext. Meth. and ZClasses, I can't find the post anymore. At the time, I didn't know that I needed ZClasses. Is there any truth?
I've read something about a problem with external methods and ZClasses as well, but I don't know what the trouble is. You can do almost anything you would need to with PythonMethods, though. Kevin
I've read in the mailing list archive about some problems between Ext. Meth. and ZClasses, I can't find the post anymore. At the time, I didn't know that I needed ZClasses. Is there any truth?
I've read something about a problem with external methods and ZClasses as well, but I don't know what the trouble is. You can do almost anything you would need to with PythonMethods, though.
I've read a lot in the mailing list about people that have read in the mailing lists about problems with external methods and ZClasses. However, I haven't been able to find in the archives, and haven't read any evidence that this is true, and if so, why. I'm using External Methods in my ZClasses without any problems, but I'm starting to believe something is going to pop up and zap me someday. :-) Would someone with direct knowledge of this alleged problem please confirm or dismiss that it exists? Thanks! Ron
participants (4)
-
Kevin Dangoor -
Maik Roeder -
Marco Mariani -
Ron Bickers