Closed lhochstetter closed 9 years ago
I would keep these classes as dumb as possible, i.e. not put any kind of logic into them. They only serve the purpose of accessing a document (and its contents) in an object-oriented manner.
One further note: one could make an abstract base class as a superclass of all possible text elements in passage bodies (i.e. text, links, lists, macros etc). This way you can easily store them in a single list structure.
Otherwise, I think this is sufficient. We're not really agile if we would continue to redraw parts.
Allright I'll try to "dumb it down"
A first attempt for the DOM for the twee Language, request for comment