#1: Plone 2.5 support + refactoring
- Contents
I propose a big cleanup for archgenxml, partially in preparation for genesis. Target only plone 2.5, so remove old stereotypes and tagged values. Generate state-of-the-art plone 2.5 code. Clean up the Big Method by using some zope3 adapter/viewclass magic and templates.
- Proposed by
- reinout
- Proposal type
- Architecture
- Assigned to release
- State
- being-discussed
Motivation
Genesis is still some way off and plone 2.5 is just around the corner. We need an interim solution. Archgenxml is widely loved and it is especially important for new plone programmers.
Plone is at a critical point regarding zope 3 stuff and archgenxml can help a lot in guiding people to the zope 3 goodness in plone 2.5 and helping them (and ourselves) to do it the Right Way.
Proposal
- Clean out tagged values and stereotypes. Remove deprecated stuff.
- Fix up the templates to be good plone 2.5/3.0 citizens. Perhaps some old stuff can be removed.
- Add GenericSetup support.
- Look if DIYplonestyle makes some of our skin support obsolete. Probably not, but everything that's not needed can be removed to allow for better maintenance.
- Remove most of the options you can pass in the config file and on the command line. Most of the items should be set as tagged values on the model instead (at least the ones that can be overwritten further down in the model).
Risks
* Modifying the layout of the resulting files, making upgrading from a previous agx project a bit of a pain (unsure if this'll happen).

Update the template used for custom view page templates to use the base_view macros rather than a fill_slot_main macro.