Uml to design algorithms
I use UML class diagrams and it's nice .But is there a way to design the algorithms (in UML or an extension or free tools) so that the complete code of the class is automatically generated (at least for java and PHP) ?Thanks,Sebastien.
[264 byte] By [
smicheaa] at [2007-10-2 12:02:07]

Several of the higher end UML tools allow design of algorithms in UML.
There is a pure UML2 approach using sequence diagrams, with control blocks for looping, conditionals etc. Personally, this has never struck me as a good idea, as sequence diagrams (even augmented with conditional blocks) are best used to give an overview of a single control flow, rather than design at that level.
There are also UML tools which integrate into systems such as MatLab for a richer algorithm design toolkit.
Or you can put psuedo code in the comments.
Pete
Thank you,I agree about sequence diagram, but this is better than nothing.Can you give me some reference for these UML2 tools ?Can they generate PHP and java code ?Sebastien
Artisan RealTime studio is the main one I was thinking of: http://www.artisansw.com/It tends to be the high end embedded systems-engineering tools that do this, so they target mimimal C and ADA, and aren't cheap. Not really PHP territory.Pete