Personal tools
You are here: Home Products ArchGenXML Roadmap #3: View classes in front of every template
Document Actions

#3: View classes in front of every template

Contents
  1. Motivation
  2. Assumptions
  3. Proposal
  4. Participants
by Reinout van Rees last modified August 26, 2006 - 10:37
Put zope3 view classes in front of every dtml template and clean up the templates with that.
Proposed by
Reinout van Rees
Proposal type
Architecture
Assigned to release
State
being-discussed

Motivation

There's lots of logic in the dtml templates. Part of the logic is in ArchetypesGenerator. Part of the logic is in the XMI parser. That is a mess. Putting a view class in front of every dtml template gives us a specific location to clean up the mess and where to put the template-related logic.

Assumptions

The cleaning up of the ArchetypesGenerator and the xmiparser isn't part of this proposal, though it enables it.

Proposal

  • Add part of the zope3 mechanism (view classes, interfaces) to archgenxml.
  • Create a mostly empty view class for every .dtml file.
  • Take the logic out of the dtml file and put it into the view class.

Participants

Reinout van Rees


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