Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: UML and perl

by perrin (Chancellor)
on Dec 24, 2003 at 05:42 UTC ( [id://316794]=note: print w/replies, xml ) Need Help??


in reply to UML and perl

There have been some attempts to do this sort of thing, either with Dia, or with SQL Fairy using an open XML format. The tricky thing here is that first you need to have a good graphical UML tool that can generate something that your code generator can work with.

This would not have much to do with MakeMaker or h2xs though. The former is an installation system and the latter is a helper for integrating C code. Some people do suggest using h2xs to create stubs for pure perl modules, but the results are not very good (bizarre file layout).

Replies are listed 'Best First'.
Re: Re: UML and perl
by drfrog (Deacon) on Dec 24, 2003 at 17:20 UTC
    Ive used both MakeMaker and h2xs to provide me with stub perl modules!

    and i think UML could add a level of structure to this endeavour

    Does anyone know how uml is structured via xml? ive been looking for documentation on that as well

      The UML --> XML thing is called XMI. You can read about attempts to support it in SQL Fairy at the link I specified.

      I still think you are confused about MakeMaker. it is an installation system. It does not generate any code except makefiles. h2xs works for making stubs of very simple modules, but is broken for anything involving multiple package namespaces because of the strange file layout it generates.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (7)
As of 2024-04-19 09:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found