Attention

This document was written for an unsupported version of Plone, Plone 2.5.x, and was last updated 1604 days ago.

For more information, see the version support policy.

To learn how to upgrade to the current version of Plone, read the upgrade manual.

UML

by Jens W. Klein last modified Dec 30, 2008 03:04 PM
A brief introduction to UML and pointers to further readings.

UML - the Unified Modelling Language - is a graphical language designed to describe software through diagrams. There are several different types of diagrams available, but the ones most relevant to ArchGenXML are:

* The class diagram

* The state diagram

Class diagrams are used to draw interfaces, content types (represented as classes) and tools (represented as classess with the 'portal_tool' stereotype), as well as the attributes and public operations on these. In addition, associations in the diagram show how objects are aggregated within or referenced from one another.

The goal of model-driven development is to create the "blueprints" for your software in a well-defined, easily-communicated format: the UML model and diagram thereof. You can design your model using visual tools until you have a structure which adequately represents your needs, and ArchGenXML will generate the necessary code.

You probably have to customise that code somewhat, filling in method bodies, creating new page templates etc., but ArchGenXML takes care of all the boilerplate for you. With tagged values and stereotypes you can customise the generated code with a surprising degree of flexibility and control, and when you need to hand-code something, ArchGenXML won't overwrite your changes (provided you stick to the protected code sections, clearly marked in the source code).

This manual does not aim to teach you UML and object-oriented, model-driven software developement. There are several other fine manuals about that on the web. A very good starting point is the "OMG UML Resource Page":http://www.uml.org/ including its web-links to tutorials.

For a quick-start read "Practical-UML":http://bdn.borland.com/article/0,1410,31863,00.html chapters 'class-diagram' und 'state-chart-diagram'.


Contribute

Something wrong or out of date? Anybody can edit or create a new article in the knowledge base. Simply create an account on this site, log in, and click the Edit button to contribute.