UML reverse engineering on ZClasses - I need some help
Hi! I am currently developing a tool for reverse engineering ZClasses into UML using ObjectDomain and JPython. this tool connects directly to a Zope instance and queries the ZClass entities, methods and inheritance relations by calling a set of utility methods that I implemented as External methods. it works fine when reverse engineering ZClasses, their methods and inheritance relations. you can check out a sample result where I reversed a part of Maik Roeder's ZDP tools under http://zwork.bluedynamics.com/Tests/zdp/index.html If there is interest and time I'll document the reverse engineering tool and publish it on zope.org ------------- And now my questions: For documentation reasons I would like to get more information about the class methods (DTML,PythonMethods,PythonScript,ExternalMethods,ZSQL): doc strings (applies to PythonMethods,PythonScript,ExternalMethods) parameters applies also to ZSQL Methods As I have scanned the Zope sources I found out that methods are instances of ZClasses.Method.MWp but now I don't know how to query more information about a mthod. Can some DC guru give me some good hint how to get these further informations? thanks in advance phil
On Tue, 28 Nov 2000, zope wrote:
Hi!
I am currently developing a tool for reverse engineering ZClasses into UML using ObjectDomain and JPython.
this tool connects directly to a Zope instance and queries the ZClass entities, methods and inheritance relations by calling a set of utility methods that I implemented as External methods.
it works fine when reverse engineering ZClasses, their methods and inheritance relations.
you can check out a sample result where I reversed a part of Maik Roeder's ZDP tools under http://zwork.bluedynamics.com/Tests/zdp/index.html
If there is interest and time I'll document the reverse engineering tool and publish it on zope.org
this is absolutly fantastic, great job Phil. If reverse engeneering is possible, also ZClass generation should be possible, or even better generate a python-product. I am very much interested in your work. Mit freundlichen Grüßen Joachim Schmitz AixtraWare, Ing. Büro für Internetanwendungen Hüsgenstr. 33a, D-52457 Aldenhoven Telefon: +49-2464-8851, FAX: +49-2464-905163
Hi Joachim ! Joachim Schmitz wrote:
I am currently developing a tool for reverse engineering ZClasses into UML using ObjectDomain and JPython.
this tool connects directly to a Zope instance and queries the ZClass entities, methods and inheritance relations by calling a set of utility methods that I implemented as External methods.
it works fine when reverse engineering ZClasses, their methods and inheritance relations.
you can check out a sample result where I reversed a part of Maik Roeder's ZDP tools under http://zwork.bluedynamics.com/Tests/zdp/index.html
If there is interest and time I'll document the reverse engineering tool and publish it on zope.org
this is absolutly fantastic, great job Phil. If reverse engeneering is possible, also ZClass generation should be possible, or even better generate a python-product.
Generating ZClasses out of a model description is what I wanted to do for a long time, but I couldn't find someone to fund this. Generating a Python product is something that Eric Enge has done with his mkzproduct. I haven't been using "SubObjects" in my ZDP-Tools, so Aggregation is nowhere defined, except implicitely. Best regards, Maik Röder
participants (3)
-
Joachim Schmitz -
Maik Röder -
zope