Skip to main content

UML to code generator for Plone

Project description

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 or Poseidon 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.0.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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

archgenxml-2.0-beta12.tar.gz (583.3 kB view details)

Uploaded Source

File details

Details for the file archgenxml-2.0-beta12.tar.gz.

File metadata

File hashes

Hashes for archgenxml-2.0-beta12.tar.gz
Algorithm Hash digest
SHA256 3298e114404c5532416bc6415b16a31cc3a8af62ad1a555a9f4957ea4d8a00af
MD5 124a17917ad9fbbdf1549c837d59010b
BLAKE2b-256 22bb2936b67d8214dc62a417950ee5c5cfc02e64be302afe568597c8260c8d0c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page