Hi Alex and others,
I loaded it and runned it. It looks good!
There is also some sunit test.
thanks. I tried to improve the model a lot. Especially the problem with
the folders/pages is solved now, I think. It is in SCG StORE, marked as
broken:
* I simplified the structure-hierarchy only to contain Page and
Resource; no concept of Folder anymore. But there are decorators that
can be wrapped around, e.g. to add children to a page. Currently I'm
thinking about putting a lot of functionality into those decorators,
this makes the structure hierarchy much more slim and easier to
understand I think.
What I did so far is the ChildrenDecoration that works pretty well. I
started now with the VersionDecoration that should represent the
previous version; I'm still unsure about the details of this
decoration, it is pretty tricky. Other decorators like security,
logging, virtual folders, etc. will be added later on. I think such a
design is much better as it separates the different concerns in a
cleaner way. I'm very interested what everybody thinks about this
(radical) change in the design?
* I implemented a more robust way of looking up pages trough a path.
The new lookup has been taken out of the Structure hierarchy and is put
into a visitor. It supports (unix-)paths starting at current position
'abc/def', paths starting at the root of the wiki '/abc/def', relative
paths '../abc' and all combinations of those. There are a lot of tests.
I think this will make everything much more easy to use, especially for
the end users.
* What is more, is that I updated the wiki syntax with better support
for tables: At ESUG I was asked if it is possible to align table-cells
different to the default behaviour given in the css-stylesheets.
SmallWiki 2 now supports an extended table syntax, maybe someone wants
to back-port this to SmallWiki 1?
<table> := <table_row>+
<table_row> := <table_cell>+ <cr>
<table_cell> := "|" <table_content> # default
| "|{" <table_content> # left
| "||" <table_content> # center
| "|}" <table_content> # right
Mhh, all these changes made break the whole command-pattern, the
context hierarchy and all the views of course. There will be some work
needed to adapt the changes.
I would like to help, what do you want me to do ? How
could I help ?
Lukas, perhaps we could meet each other. I am at the University
everyday (especially the week end) until (very) late in the evening.
Just tell me when you have a bit of time.
Yes, this is a very good idea! I'm willing to spend one day a week to
do pair-programming on SmallWiki. Sometime by the end of the next week
would be fine.
Cheers,
Lukas
--
Lukas Renggli
http://renggli.freezope.org