Personal tools
You are here: Home Documentation Tutorials ArchGenXML 1.x- Getting started
Support

Get Help

Join our chat rooms or support forums if you have more specific questions.

Plone Training
Learn how to design, build, and deploy a website in Plone through one of the numerous Plone training sessions around the world.
Find Plone training…
 
Document Actions

ArchGenXML 1.x- Getting started

This Tutorial applies to: Plone 2.5.x, Plone 2.1.x
This Tutorial is intended for: Integrators, Customizers, Developers

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.

jensens

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

  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).
Attached files
 
by Jens W. Klein last modified March 19, 2008 - 18:02
Contributors: jensens, optilude, reinout, frisi, fifer, et al
All content is copyright Plone Foundation and the individual contributors.

ArchGenXML Getting Started PDF

Posted by Peter Fraterdeus at November 29, 2005 - 04:59

I've posted a preliminary version of this tutorial as a downloadable PDF.

I wanted to have a version to print for hard-copy reference, and the stuff coming out of the browser just didn't turn me on.

So, I took the html source from "tutorial_full_view", massaged it a little to get well-formed XHTML, and then imported that into Adobe InDesign. I assigned typographic styles to the structural elements, and then adjusted the visual spaces to suit my own preference!

There are only two graphic figures in the tutorial at this time, and I've copied those into place. Perhaps as I work through some of these ArchGenXML goodies, I'll add some more figures.

The PDF (440K) can be found here:

http://www.fraterdeus.com/downloads/ArchGenXML_PDF_0.2.1/view

Comments welcome!

outdated

Posted by Jens W. Klein at August 30, 2007 - 10:47
attention, the PDF is from nov 2005.

Yes...

Posted by Peter Fraterdeus at August 30, 2007 - 12:55
Fortunately, the "Print" button from "all in one page view", actually does a nice job these days.
Export the print job as a PDF for easy access....

Thanks Jens!

Tools before types?

Posted by Ben Hirsch at June 16, 2006 - 13:06

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 June 24, 2007 - 20:11
For a field with Multiplicity (0..*) -> ArrayField use:
array:schemata

ArgoUML Installation

Posted by Kevin Gill at August 23, 2007 - 08:58
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/archgenxml/documentation/how-to/using-argouml-model-with-archgenxml-data-types-stereotypes-and-tagged-values

Generating the Examples on Windows

Posted by Kevin Gill at August 23, 2007 - 09:02
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.

For any issues with the web site functionality, please file a ticket.

Please consult the policy on plone.org content if you want your content published on this site.

Servers and hosting by