Use BOUML for "reverse engineering PHP code" to extract the class model (BOUML is available from "universe" repository of Ubuntu). I seriously recommend BOUML for this step because it's really fast compared to many other programs I have tried. Export XMI from ArgoUML (I don't know which XMI version/variant the output is but it is not the same result as the output from BOUML.Use ArgoUML to import said XMI file (you can use webstart version for this step).Use BOUML to export model as XMI 1.4 file.In addition, it seems that BOUML seems to extract the model correctly (for the parts that BOUML even tries to extract). Here's an example of suitable command line for using fdp to output PDF diagram (assuming that dot file generated by argouml-graphviz XLST processing is saved as xmi-model.dot): fdp -Tpdf -Gmaxiter=1000 -Gmindist=0.5 -Gpackmode=node \ Use dot or fdp or sfdp to render the class diagram.Use argouml-graphviz to convert ArgoUML exported XMI file to dot format (you may need to use saxon instead of xsltproc to get it work due to use of XSLT2).The argouml-graphviz cannot handle XMI file directly from BOUML). Goverlap=false xmi-model.dot -oxmi-model.pdfĪs an alternative you could try PHP_UML or php2xmi instead of BOUML for doing the "reverse engineering" part. I would personally interpret those words as extracting information from executable binary file or captured raw wire data.) (I'm using the phrase "reverse engineering" because it seems that UML people are using those words when they mean extracting class and method information from the source code. Using the "reverse engineered" data via BOUML will help in that case.History of object-oriented methods and notation Before UML 1.0 If you prefer drawing the class diagram by hand (instead of using computer to do all the drawing), you can use either BOUML or ArgoUML for the drawing. UML has been evolving since the second half of the 1990s and has its roots in the object-oriented programming methods developed in the late 1980s and early 1990s. The timeline (see image) shows the highlights of the history of object-oriented modeling methods and notation. It is originally based on the notations of the Booch method, the object-modeling technique (OMT) and object-oriented software engineering (OOSE), which it has integrated into a single language. Rational Software Corporation hired James Rumbaugh from General Electric in 1994 and after that the company became the source for two of the most popular object-oriented modeling approaches of the day: Rumbaugh's object-modeling technique (OMT) and Grady Booch's method. They were soon assisted in their efforts by Ivar Jacobson, the creator of the object-oriented software engineering (OOSE) method, who joined them at Rational in 1995.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |