Skip to main content

ArchGenXML - UML to code generator for Plone

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.4 - 2009-04-01

  • Fix use of index:extras tagged-value [jensens]

  • Enable easy plone.app.content.ATBlob subclassing. Add atblob stereotype to the profile. [jensens]

  • Add stripogram (available as egg) as dependency. [jensens]

  • Fix catalog assignment when catalogmultiples tagged valued is used. [erico_andrei]

Download

Metadata

Release files for archgenxml 2.4-

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for archgenxml 2.4-
File Size Uploaded Provenance Actions
archgenxml-2.4-.tar.gz 564.9 kB Without provenance Details for archgenxml-2.4-.tar.gz

Release files / archgenxml-2.4-.tar.gz

Download URL archgenxml-2.4-.tar.gz
Size 564.9 kB
Tags Source
SHA-256 checksum
How to use checksums
434ffdcf24c9325e451e76c82c6fbf4f5b847f1df2882a4e36170866a6e096eb
BLAKE2b-256 checksum
How to use checksums
6f61c9c0d35dd5885c97d54cae9d172f762a1ab15449065b9f597aefc5872740
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for archgenxml 2.4-

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page