[OpenLayers-Dev] uml class diagram

Erik Uzureau erik.uzureau at metacarta.com
Mon Apr 23 09:29:31 EDT 2007


If all you need are the classnames and the inheritance, it should be pretty
simple... we have tried as much as possible to use the directory hierarchy
to model the class hierarchy. There are several exceptions in the Layer
directory (many layers subclass HTTPRequest and/or Grid) and maybe one or
two in Control.... otherwise it is pretty straightforward.

If i knew how to produce UMI I might even give it a shot myself.
--erik

On 4/23/07, Emanuel Schütze <emanuel at intevation.de> wrote:
>
> Thanks for the xmi document, Cameron.
> Is there somebody who has time to model such an uml class diagram (like
> Cameron's) for the complete code of OL? It would be really great! ;-)
> I think, only the class names and the inheritances will suffice.
>
> Regards,
> Emanuel
>
>
> On Saturday 21 April 2007 23:07, Cameron Shorter wrote:
> > Emanuel,
> > I'd love to have UML exports of JS projects like OpenLayers. UML
> > diagrams provide a fast way for a new developer to quickly get an
> > understanding about the structure of a software package and find the
> > part that they want to work on or use.
> >
> > A few of us manually created a UML model for the vector graphics branch
> > of OpenLayers before we wrote it. I don't think it will be of much use
> > to you because it is now out of date (we didn't update it as we wrote
> > the code) and it only covers the vector components of Openlayers.
> >
> > However you are welcome to look at it. It is in the universal XMI
> > format, created with Umbrello (available on linux).
> >
> http://svn.codehaus.org/mapbuilder/trunk/mapbuilder/mapbuilder/design/uml/g
> >raphics.xmi
> >
> > Emanuel Schütze wrote:
> > > Hi,
> > >
> > > I'm searching for an uml class diagram of the OL code. Is there
> anybody
> > > who has created or wants to create such an useful diagram?
> > >
> > > Is there any tool who can generate uml from JavaScript? Michael
> Mathews,
> > > a guy who currently implements jsdoc2 [1], wrote me that the current
> > > version of jsdoc2 can already output xml. But he didn't know if there
> a
> > > way to convert xml to uml.
> > > A first uml export might come in jsdoc2 perhaps in july or later.
> > > Unfortunately it's to late for me, because I need it for my thesis
> until
> > > end of may.  It would be great if somebody can help me.
> > >
> > > Regards,
> > > Emanuel
> > >
> > > [1] http://code.google.com/p/jsdoc-2/
> > > _______________________________________________
> > > Dev mailing list
> > > Dev at openlayers.org
> > > http://openlayers.org/mailman/listinfo/dev
> _______________________________________________
> Dev mailing list
> Dev at openlayers.org
> http://openlayers.org/mailman/listinfo/dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-dev/attachments/20070423/d34bf4c4/attachment.html


More information about the Dev mailing list