I did a pass on all the how to and I'm worried
about the use of
isKindOf:
We could avoid this using a second visitor implementing #acceptPage:
and #acceptFolder. This is necessary because these messages are already
implemented for a different purpose in VisitorRenderHtmlLight.
VisitorRendererHtmlLight>>acceptTemplateStatistic: aTemplate
NewVisitor new visit: action structure
NewVisitor>>acceptFolder: aStructure
self displayFolderStatistic: structure
NewVisitor>>acceptPage: aStruture
self displayPageStatistic: structure
Alex I really think that we need to have a document
explaining the
design of SmallWiki, can you ask lukas his pictures so that we can
have a document for the next lecture.
Unfortunately I did not got very far with the documentation that I
should write one day. Although there are some class-comments in the
most important classes as WikiItem, Action, HtmlWriteStream, Structure,
...
Lukas
--
Lukas Renggli
http://renggli.freezope.org