Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython
INSTALL>
pypm install archgenxml

How to install archgenxml

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install archgenxml
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
2.6 Available View build log
2.5 Available View build log
2.4.1 Available View build log
Windows (64-bit)
2.6 Available View build log
2.5 Available View build log
2.4.1 Available View build log
Mac OS X (10.5+)
2.6 Available View build log
2.5 Available View build log
2.4.1 Available View build log
Linux (32-bit)
2.6 Available View build log
2.5 Available View build log
2.4.1 Available View build log
Linux (64-bit)
2.6 Available View build log
2.5 Available View build log
2.4.1 Available View build log
 
License
GPL
Lastest release
version 2.6 on Mar 11th, 2011

Overview

With ArchGenXML you can create working python code without writing one single line of python. It is is a commandline utility that generates fully functional Zope Products based on the Archetypes framework from UML models using XMI (.xmi, .zargo, .zuml) files. The most common use case is to generate a set of custom content types, possibly with a few tools, a custom Member type and some workflows thrown in.

How it works

In practice, you draw your UML diagrams in a tool like ArgoUML which has the ability to generate XMI files. Once you are ready to test your product, you run ArchGenXML on the XMI file, which will generate the product directory. After generation, you will be able to install your product in Plone and have your new content types, tools and workflows available.

At present, round-trip support is not implemented: Custom code can't be converted back into XMI (and thus diagrams). However, you can re-generate your product over existing code. Method bodies and certain protected code sections will be preserved. This means that you can evolve your product's public interfaces, its methods and its attributes in the UML model, without fear of losing your hand-written code.

Supported Plone Versions

We support Plone Versions 2.5.x and >3.1.x. But if you have code generated with some ArchGenXML version below 2 you will need to adjust the generated model and code manually. There is no smooth migration. If you dont need to make your code run on Plone 3, stick to an older version of ArchGenXML.

Further Reading

The Manual documents most of ArchGenXML features. There are also plenty third party documentations in several languages. Just use Google to find more on this topic.

Changelog

2.6 (2011-03-10)
  • make z3 interfaces the default interface and dont accept any longer zope2

System Message: WARNING/2 (<string>, line 64)

Bullet list ends without a blank line; unexpected unindent.

interfaces [jensens]

  • Use portal_type tagged-value if available instead of class name when

System Message: WARNING/2 (<string>, line 68)

Bullet list ends without a blank line; unexpected unindent.

generating workflows.xml. [vincentfretin]

  • remove unneccessary imports for remember/membrane,

System Message: WARNING/2 (<string>, line 72)

Bullet list ends without a blank line; unexpected unindent.

view permissions can now additionally be specified in the dependency association to the content class, name of the view template can now additionally be specified in the dependency relation between view class and content class, pass fixed size parameter to arrayfield (i.e. 4 generates size-4) , browser views: name on dpendency determines name of view, remove old generator i18n support. [zworkb]

  • tgv for dynatree widget

System Message: WARNING/2 (<string>, line 82)

Bullet list ends without a blank line; unexpected unindent.

[hpeteragitator]

  • Added worklist:guard_expressions tag definition.

System Message: WARNING/2 (<string>, line 85)

Bullet list ends without a blank line; unexpected unindent.

[vincentfretin]

  • Fixed UnicodeEncodeError when writing the code of existing methods

System Message: WARNING/2 (<string>, line 88)

Bullet list ends without a blank line; unexpected unindent.

back to the files and the code is in the unicode format. [deo]

2.5 (2010-09-04)
  • Extender doesn't generate interfaces twice anymore.

System Message: WARNING/2 (<string>, line 96)

Bullet list ends without a blank line; unexpected unindent.

[jensens]

  • You can now set meta_type="Subtractive Workflow" (default is "Workflow")

System Message: WARNING/2 (<string>, line 99)

Bullet list ends without a blank line; unexpected unindent.

and state_var="confidential_state" for example (default is "review_state") on a workflow to use it with collective.subtractiveworkflow. [vincentfretin]

  • Added roles and permissions protected sections in rolemap.xml.

System Message: WARNING/2 (<string>, line 104)

Bullet list ends without a blank line; unexpected unindent.

[vincentfretin]

  • Replaced buggy odict implementation by the ordereddict implementation

System Message: WARNING/2 (<string>, line 107)

Bullet list ends without a blank line; unexpected unindent.

available in Python 2.7. [moldy]

  • Unicode fixes for generated module info header.

System Message: WARNING/2 (<string>, line 111)

Bullet list ends without a blank line; unexpected unindent.

[moldy]

  • Removed DeprecationWarning about the sets module.

System Message: WARNING/2 (<string>, line 114)

Bullet list ends without a blank line; unexpected unindent.

[vincentfretin]

  • Header info: use better formatting for author.

System Message: WARNING/2 (<string>, line 117)

Bullet list ends without a blank line; unexpected unindent.

Encode module header strings so we don't choke on non-ASCII chars. [moldy]

  • Make "dependend_profiles" alternative as multi-tgv available

System Message: WARNING/2 (<string>, line 121)

Bullet list ends without a blank line; unexpected unindent.

(avoid ultra-long tgvs). [jensens]

  • Added virtual field type "keywords" which results in a LinesField with

System Message: WARNING/2 (<string>, line 125)

Bullet list ends without a blank line; unexpected unindent.

KeywordWidget (this needs a tgv catalog:index=1). [jensens]

  • Prevent error on empty tgv.

System Message: WARNING/2 (<string>, line 129)

Bullet list ends without a blank line; unexpected unindent.

[hpeteragitator]

2.4.1 (2009-04-01)
  • Fix wrong version '2.4-'.

System Message: WARNING/2 (<string>, line 136)

Bullet list ends without a blank line; unexpected unindent.

'2.4-' version was not fully uploaded. [vincentfretin]

2.4 (2009-04-01)
  • Fix use of index:extras tagged-value

System Message: WARNING/2 (<string>, line 144)

Bullet list ends without a blank line; unexpected unindent.

[jensens]

  • Enable easy plone.app.content.ATBlob subclassing.

System Message: WARNING/2 (<string>, line 147)

Bullet list ends without a blank line; unexpected unindent.

Add atblob stereotype to the profile. [jensens]

  • Add stripogram (available as egg) as dependency.

System Message: WARNING/2 (<string>, line 151)

Bullet list ends without a blank line; unexpected unindent.

[jensens]

  • Fix catalog assignment when catalogmultiples tagged valued is used.

System Message: WARNING/2 (<string>, line 154)

Bullet list ends without a blank line; unexpected unindent.

[erico_andrei]

Subscribe to package updates

Last updated Mar 11th, 2011

Download Stats

Last month:2

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.