Dear ZoPeople, What is the normal way to handle complex logic in a PythonScript. I have a piece of code that is sufficiently complex, that it makes sense to have a number of classes and methods for it, but Zope doesn't seem to like the use of classes inside PythonScripts. Would one simply use External Scripts for this, or is there a a more "standard" way, such as fiddling with the access controls? Thanks, Roy. __________________________________________________ Do You Yahoo!? Send your FREE holiday greetings online! http://greetings.yahoo.com
Sounds like you're looking to write a python product. Reading the developers guide might be good at this stage :-) cheers, Chris Roy Mathew wrote:
Dear ZoPeople,
What is the normal way to handle complex logic in a PythonScript. I have a piece of code that is sufficiently complex, that it makes sense to have a number of classes and methods for it, but Zope doesn't seem to like the use of classes inside PythonScripts.
Would one simply use External Scripts for this, or is there a a more "standard" way, such as fiddling with the access controls?
Thanks, Roy.
__________________________________________________ Do You Yahoo!? Send your FREE holiday greetings online! http://greetings.yahoo.com
_______________________________________________ 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 )
participants (2)
-
Chris Withers -
Roy Mathew