Generate PHP from UML (xmi)
Posted: Wed Jul 19, 2006 9:35 am
Hi all,
Been searching for a UML to PHP code generator (or framework generator...), preferably open source. Not much success though except for the ones I mention at the end of the post.
My question is if anyone has any tips of such a product, and perhaps even some experience of using such tool ("evaluation experience" is of value too, of course).
My experience with PHP is "none" (except for reading lots of code in a CMS I'm using...). My background in software design is that of design (UML) of a enterprise business system (~300+ classes) from scratch with Delphi 4,5,6 with a MDA framework "Bold Architecture" (now known as ECO, Enterprise Core Objects in Delphi 2005+ Architect versions). From this experience I learned the benefits with working with system design on a "higher level of abstraction" as they say. From the model was generated both code (stubs) in a technical application framework (Bold), and its corresponding persistence layer (Objects mapped to Tables). Even "evolution" of latest model changes affecting the database is part of that concept.
However, now I'm investigating using PHP for creating front ends to, amongst other things, back end "real enterprise" systems, and I really like the idea of working with UML models.
Thanks in advance.
// Rolf Lampa
PS: The PHP-code generators I've seen on the net:
Been searching for a UML to PHP code generator (or framework generator...), preferably open source. Not much success though except for the ones I mention at the end of the post.
My question is if anyone has any tips of such a product, and perhaps even some experience of using such tool ("evaluation experience" is of value too, of course).
My experience with PHP is "none" (except for reading lots of code in a CMS I'm using...). My background in software design is that of design (UML) of a enterprise business system (~300+ classes) from scratch with Delphi 4,5,6 with a MDA framework "Bold Architecture" (now known as ECO, Enterprise Core Objects in Delphi 2005+ Architect versions). From this experience I learned the benefits with working with system design on a "higher level of abstraction" as they say. From the model was generated both code (stubs) in a technical application framework (Bold), and its corresponding persistence layer (Objects mapped to Tables). Even "evolution" of latest model changes affecting the database is part of that concept.
However, now I'm investigating using PHP for creating front ends to, amongst other things, back end "real enterprise" systems, and I really like the idea of working with UML models.
Thanks in advance.
// Rolf Lampa
PS: The PHP-code generators I've seen on the net:
- - UML2PHP (at http://www.uml2php.com/xmlweb/index.php) which I I plan to evaluate. Perhaps someone else already tried this one?
- I also saw UML2Classes (http://phpclasses.mkdata.net/browse/package/2528.html), but it seems to be depending on PHP-Gtk which I don't really know what it is...