Re: [Zope-dev] UML reverse engineering on ZClasses - I need somehelp
Hi Philipp ! Philipp Auersperg wrote: > > generating zclasses out of an UML model should be possible and I want > to implement it, > but it has to be checked if all features of ZClasses have a match in > UML and vice versa. I'm not sure how PropertySheets and Views translate to UML. > For example a method in UML can be generated as a DTML > Method,PythonMethod,PythonScript,ZSQLMethod,PHPMethod,[otherLanguage] > Method... and lots of other questions. I would be happy with a generator that supports DTML generation at first :-) > this could be defined through stereotypes on the UML side, but that is still a big >bunch of work. Right. > Before I go into generating zclasses I want to complete and publish the > reverse engineering, therefor I want to clear some questions (see my original mail). Consider me a beta tester, Regards, Maik Röder ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] UML reverse engineering on ZClasses - I need somehelp
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 ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )