ArchGenXML 1.x- Getting started

ArchGenXML is a code-generator for CMF/Plone applications (Products) based on the Archetypes framework. It parses UML models in XMI-Format (.xmi, .zargo, .zuml), created with applications such as ArgoUML, Poseidon or ObjectDomain. This tutorial will help you get started developing applications with the aid of ArchGenXML. Please note ArchGenXML 1.x is not supported any longer and should be used only to maintain existing projects. If you're starting a new project, use ArchGenXML 2 instead.

  1. Introduction An introduction to ArchGenXML - what it is, reasons to use it, who made it.
  2. Installation How to install ArchGenXML and get up and running.
  3. UML A brief introduction to UML and pointers to further readings.
  4. Getting started Create your first content type with ArchGenXML
  5. Basics: Classes / Content-Types How to generate content types, tools and interfaces.
  6. Basics: Attributes / Fields How to control the fields of your schema.
  7. Basics: Widgets Simple content type creation: Setting up the Widgets.
  8. Basics: Methods and Actions Simple Content-Type creation: Defining Methods and Actions
  9. Basics: Relationships between classes and objects How to use references, associations, aggregations and compositions
  10. Basics: Workflow Generation ArchGenXML can use state diagrams to create custom workflows for your types.
  11. Third Party Product Integration: ATVocabularyManager ATVocabularyManager is a product for letting site managers define vocabularies for fields through-the-web or by import from XML files. ArchGenXML can generate the necessary code to use this product.
  12. Third Party Product Integration: Relations Create relations between portal-types model-driven. Support for Relations Product (complex references). Define sets of rules for validation, creation and lifetime of Archetypes references. ArchGenXML can generate the necessary code and XML-configuration data to use this product.
  13. Third Party Product Integration: Remember Generate 'Remember' based Member-Types. Its the successor of CMFMember.
  14. Third Party: Using ArrayField and CompoundField How to make custom fields: a list of some default field type, a compound of a two or more default fields.
  15. Quick Reference A very nice Quick Reference for ArchGenXML abusers.
  16. Tagged value overview This pages provides the full overview of the tagged values that are recognised by ArchGenXML. UPDATED 2007-01-19 (svn trunk).
  17. Stereotype overview Overview of all stereotypes you can use. (Note 2005-08-25: stereotypes are complete, but there are some empty descriptions). This pages is autogenerated with 'python UMLProfile.py'. UPDATED 2007-01-19 (svn trunk).

All content on one page (useful for printing, presentation mode etc.)

 

Tools before types?

Posted by Ben Hirsch at Jun 16, 2006 01:06 PM
Anyone know how I might go about installing tools before types? My product contains content types that require a tool also provided by the product to be used as a catalog. Since Install.py tries to install the types first, it fails because they can not setup their indexes.

To set the schemata for a field with cardinality >1

Posted by Christian Koller at Jun 24, 2007 08:11 PM
For a field with Multiplicity (0..*) -> ArrayField use:
array:schemata

ArgoUML Installation

Posted by Kevin Gill at Aug 23, 2007 08:58 AM
I found that I need to install argouml_profile.xmi. This gives the data types mentioned in the tutorial, e.g. text. Further information is available at

http://plone.org/products/a[…]ereotypes-and-tagged-values

Generating the Examples on Windows

Posted by Kevin Gill at Aug 23, 2007 09:02 AM
I followed the example in section 4, getting started and created MyFirstAGXExample. The project I generated would import but I could not create an instance of the data type.

I found that when I named the model in lowercase, it would work.

Trying to generate a project with a different name using the -o option created a project which would not import.