(this ist not so much a feature request than more a question: how close is moin to the following architecture?)

Today we speak of parsers, formatters etc. Moin is really great because of its pluggable architecture. But IMHO parsers, formatters and themes are a little to narrowly knitted together. A more flexible solution would be a transparent and configurable pipeline architecture. It doesn't have to be that complex like cocoon, but the idea ist still there:

Entry edit request:

Entry read request:

To provide a sane, transparent and flexible pipeline, the interface between the respective steps should be an XML structure if possible. (I love xslt; it seems to me that a lot of python coding could be refactured quite elegantly with 4Suite.)

There is some work in process yet: In RadomirDopieralski/SimpleParser we have an emitter. And parser/pseudoXML suggest to split up tasks according to whether they have to be performed with some simple context free regex, a context aware (and thus more complex) stack automaton or even xslt.

We have to tackle at last three main tasks:

The current system is simple: have a parser that lexes, parses and calls the formatter which emits chunks that have to be sent to request.write by the parser. Many formatters have to build internal trees and dont emit anything because of that (empty chunks). The parser has to call macros etc. if necessary.

related pages: MoinDev/WikiDom

pseudoXmlProcessingPath.gif

pseudoXmlProcessingPath.odp


CategoryFeatureRejected

MoinMoin: FeatureRequests/PipelineArchitecture (last edited 2008-03-18 01:53:02 by JohannesBerg)