Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: UML for PERL?

by dws (Chancellor)
on Mar 26, 2001 at 23:33 UTC ( [id://67302]=note: print w/replies, xml ) Need Help??


in reply to UML for PERL?

For an open source UML tool, I recommend that you acquiant yourself with ArgoUML. It's in Java, and requires Swing. A cool piece of work.

There's more to UML than emitting code skeletons. I often use Visio when designing, mostly to draw Event Trace diagrams to describe protocols and walk through object interactions. Event traces are largely independent of implementation language. They work just as well with Perl as they do with Java (or whatever).

The last experience I had generating code skeletons from diagrams wasn't particularly successful. We ended up extracting attributes from the diagrams, and automating the generation of (skeletal) class definitions and accessors. Strictly one-way, and, in hindsite, barely worth the effort.

Replies are listed 'Best First'.
Re2: UML for PERL?
by bikeNomad (Priest) on Aug 06, 2001 at 20:40 UTC
    Beware of ArgoUML. It's broken in important ways (object ID's get lost, property pages don't work, it loses your drawings, etc. etc.). I used it for the beginnings of a project (twice, with 0.8 and 0.91) and stopped using it after it had lost my work (twice) and saved itself in a mode it wouldn't open. I was on the argouml mailing list for a while, and the developers there seem to be banging away on their different corners without getting a handle on underlying design problems. Their UML parser comes from a different group, and every time the UML parser changes, Argo breaks. I suspect that the design needs a serious re-thinking.

    (I wrote a Perl script that will diagnose broken Object ID's in Argo output files, if anyone's interested)

    If you want a resonably stable diagramming tool that outputs a parseable file format, you might look at TCM (though it only runs on Unix systems under X Windows).

    My approach to this was to write my own UML editor in Squeak. If you have Squeak, you can get a taste of this editor by looking at the NK-ConnectorsDemo.056.pr project on Bob's Super Swiki (via the FIND button in the Squeak Project Navigator).

    I am building this into a real product. I am, however, unclear as to exactly what support I could provide for Perl in it. Perhaps someone has some suggestions.

    I have also built a Perl module for accessing Rational Rose models via its OLE Automation interface; if you're interested, contact me.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://67302]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2024-04-19 21:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found